如何用商业SSL认证替换Certbot SSL认证?
我在数字海洋上托管的NodeJS应用程序上启用了HTTP。我使用了certbot。我想用商业证书将免费证书替换为“安全”。我该怎么做?
I enabled https on my nodejs application hosted on digital ocean. I used certbot. I want to replace the free certificate with a commercial certificate so not it shows up as "secure". How can I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的网站未通过免费证书显示安全,则配置存在问题。除非问题是过期证书,否则购买一个问题不会解决该问题。
更改证书将私钥和证书复制到服务器上的安全位置,然后更改Apache VirtualHost配置:
to/privkey.pprivkey.pem of Course of Course,更换/replent //forts /// fullPath/to/到您为存储证书创建的目录。
示例: /etc/certs/example.com
文件名取决于您向您发送的名称。使用他们的文件名或根据需要重命名。
If your site does not show secure with a free certificate, there is a problem with your configuration. Buying one will not fix that problem unless the issue is an expired certificate.
To change certificates copy the private key and certificate to a safe location on your server and then change the Apache VirtualHost configuration:
Of course, replace /fullpath/to/ to the directory you created to store your certificate.
Example: /etc/certs/example.com
The file names depends on the names your CA sent you. Use their filenames or rename them as you wish.