en:blog:byd-doku

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

en:blog:byd-doku [2025/04/15 23:49] – 创建 doge24190en:blog:byd-doku [2025/04/16 00:09] (当前版本) doge24190
行 4: 行 4:
 ===== Main reason of this problem ===== ===== Main reason of this problem =====
  
-PHP's certification has expired导致无法与update.dokuwiki.org进行ssl连接 +PHP can't establish ssl conection to update.dokuwiki.org because PHP's certification has expired 
-===== 解决方法 ===== +===== Solution ===== 
-==== 1.更新php的证书 ==== +==== 1.Update PHP's certification ==== 
-以我使用的宝塔面板为例应用管理处找到php管理在配置文件一栏搜索“openssl.cafile”,找到证书路径我的是/etc/pki/tls/certs/ca-bundle.crt),用文件管理打开+Take Bt Panel using by my server as an exampleyou can find php管理 at 应用管理处,Search "openssl.cafile" at configuration file, find the path of the certification filefor me is /etc/pki/tls/certs/ca-bundle.crt), then use the file manager to open it.
  
-进入[[https://curl.se/docs/caextract.html]],下载最新的证书文件(cacert.pem)+Enter the [[https://curl.se/docs/caextract.html]], download the latest certification file(cacert.pem)
  
-用文本编辑软件打开证书文件全部复制下来替换掉服务器的ca-bundle.crt文件中的内容,保存。+Use Text Editor(e.g. VIM) to open the certification filecopy all of itreplace server'ca-bundle.crt with it, don't forget to save it.
  
-问题解决!+Done!
  
-===== 参考资料 =====+===== Reference =====
   * [[https://forum.dokuwiki.org/d/20344-the-plugin-repository-could-not-be-contacted|The plugin repository could not be contacted   * [[https://forum.dokuwiki.org/d/20344-the-plugin-repository-could-not-be-contacted|The plugin repository could not be contacted
 ]]<sup>DokuWiki User Forum</sup> ]]<sup>DokuWiki User Forum</sup>
  • en/blog/byd-doku.1744732143.txt.gz
  • 最后更改: 2025/04/15 23:49
  • doge24190