证书
<p>Nginx服务器配置ssl证书实现https访问 <a href="https://www.cnblogs.com/tianhei/p/7726505.html" title="链接地址">链接地址</a>
小程序官方配置 <a href="https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=10_4" title="地址">地址</a></p>
<p>Apache服务器 <a href="https://sirhe.cn/57888.html" title="参考地址 ">参考地址 </a></p>
<p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/38efb2965c7c966cb5ee8bc24646d7eb?showdoc=.jpg" alt="" />
处理方法</p>
<h6>1、下载一个ca-bundle.crt</h6>
<pre><code>https://github.com/bagder/ca-bundle</code></pre>
<h6>2、Apache服务器把证书放在 Apache/conf/ssl下</h6>
<h6>3、在php.ini文件中配置下路径 ,重启web服务器</h6>
<pre><code class="language-d">curl.cainfo="证书路径/ca-bundle.crt"</code></pre>
<p>然后就OJBK了</p>