简体   繁体   English

创建CSR请求之前,必须删除自签名SSL证书吗?

[英]do I have to remove the self signed SSL certificate before creating the CSR request?

I have a self signed ssl certificate on my server at the moment and I've bought a CA signed one. 目前,我的服务器上有一个自签名的ssl证书,我已经购买了一个由CA签名的证书。 I'm about to generate the CSR Request, will my previously installed self signed one conflict with my attempts at making a new one? 我将要生成CSR请求,以前安装的自签名文件是否会与我尝试创建新的文件时发生冲突? Do I have to remove all traces of my self signed one first? 我是否必须先删除所有自签名的痕迹? I'm running ubuntu 14.04 and apache 2. Thanks! 我正在运行ubuntu 14.04和apache2。谢谢!

No. When you import the signed certificate it will overwrite the self-signed one. 否。当您导入签名证书时,它将覆盖自签名证书。 Make sure you use the same alias. 确保使用相同的别名。

A self signed cert and a CA certificate are basically the same thing. 自签名证书和CA证书基本上是同一件事。 They all need the a CSR and a private key in order for them to function. 他们都需要一个CSR和一个私钥才能起作用。

Replacing the cert on Apache is very simple. 在Apache上替换证书非常简单。 Just go to your httpd config file and point to the new Private key, Domain Cert, and Intermediate Cert. 只需转到您的httpd配置文件,然后指向新的私钥,域证书和中间证书。 Restart the service and finish! 重新启动服务并完成!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM