我可以很容易地请求通配符证书
Sudo certbot -d example.com -d *.example.com——manual——preferred-challenges dns-01——server https://acme-v02.api.letsencrypt.org/directory当然
我生成了三个文件:
privkey = /etc/letsencrypt /生活/ example.com/privkey.pem
链= /etc/letsencrypt /生活/ example.com/chain.pem
fullchain = /etc/letsencrypt /生活/ example.com/fullchain.pem
谁能告诉我,我可以使用什么openssl命令来将这些.pem文件转换为所需的格式为Prism Central/Prism Element?我尝试从https://www.sslsupportdesk.com/openssl-commands/多个命令,但我似乎不能找到确切的一个。
如果需要其他证书,还可以从这里获取中间/根证书。
https://letsencrypt.org/certificates/
我也在寻找一种最终的方法来脚本这个过程,所以如果有人知道如何通过CLI替换Prism Central/Prism Element中的证书,我也会感激。最初,只要找到要使用的正确证书格式,我就很高兴了。
最佳答案Reinder
\r\nTo answer your question, openssl is not needed to convert the certificates.\r\nWhat is tricky is to get Nutanix to take the chain.pem, after some frustrating tries I got it to work like this:
\r\n
\r\n ncli ssl-certificate import certificate-path=\/full\/path\/to\/cert.pem cacertificate-path=\/full\/path\/to\/mychain.pem key-path=\/full\/path\/to\/privkey.pem key-type=\"RSA_2048\"
\r\n
\r\nWhere mychain.pem I created by combining https:\/\/letsencrypt.org\/certs\/letsencryptauthorityx3.pem.txt with https:\/\/letsencrypt.org\/certs\/isrgrootx1.pem.txt
\r\nSo cat letsencryptauthorityx3.pem.txt isrgrootx1.pem.txt > mychain.pem
\r\n
\r\nHope this helps someone,
\r\n
\r\nReinder - TriOpSys - NL","className":"post__content__best_answer"}">