记录遇到问题的点点滴滴。
使用此证书根证书包:https://curl.haxx.se/ca/cacert.pem将此证书复制到硬盘上。 并在php.ini上使用curl.cainfo = "path_to_cert\cacert.pem"
执行:yum update nss
问题起因在访问https的网站时,报出Peer's Certificate has expired的错误。如下:[root@localhost ~]# curl https://www.baidu.com curl: (60) Peer's Certificate has expired. More details here: http:...