手动将ssl证书添加到Trusted

时间:2019-05-20 10:37:09

标签: ubuntu ssl ssl-certificate

我有错误

curl https://xxx.voxlink.ru                       
curl: (60) SSL certificate problem: unable to get local issuer certificate

openssl说下一步

:~# openssl s_client -connect xxx.voxlink.ru:443
CONNECTED(00000003)
depth=0 OU = Domain Control Validated, OU = PositiveSSL Wildcard, CN = *.voxlink.ru
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 OU = Domain Control Validated, OU = PositiveSSL Wildcard, CN = *.voxlink.ru
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
 0 s:/OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.voxlink.ru
   i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
---
...

我想从上面的链中手动添加根证书到受信任的列表,并在服务器上为此主机修复ssl错误

我该怎么办?

1 个答案:

答案 0 :(得分:-1)

我不确定,但也许此链接会为您提供帮助。 https://www.digicert.com/ssl-certificate-installation.htm

或者您也可以创建自己的自签名证书,为此,请尝试以下操作: https://help.dreamhost.com/hc/en-us/articles/215089078-How-to-manually-create-a-CSR-for-a-self-signed-certificate

我已经为我的一个应用程序创建了自签名证书,但是还没有手动安装ssl证书。