blog:byd-doku

The plugin repository could not be contacted. Make sure your server is allowed to contact www.dokuwiki.org and check your proxy settings. [Retry]

PHP的证书过期导致无法与update.dokuwiki.org进行ssl连接

以我使用的宝塔面板为例,在应用管理处找到php管理,在配置文件一栏搜索“openssl.cafile”,找到证书路径(我的是/etc/pki/tls/certs/ca-bundle.crt),用文件管理打开

进入https://curl.se/docs/caextract.html,下载最新的证书文件(cacert.pem)

用文本编辑软件(如:VIM)打开证书文件,全部复制下来,替换掉服务器的ca-bundle.crt文件中的内容,保存。

问题解决!

请输入您的评论. 可以使用维基语法:
V N V M᠎ L
 
  • blog/byd-doku.txt
  • 最后更改: 2025/04/16 00:05
  • doge24190