0

I have generated a self sign ssl certificate for my server, can I use the same certificate with different server?

1

2 Answers 2

1

Well SSL certificates are usually used to protect domains and not ip addresses. You can try to generate a SSL certificate for an ip address.

You can enter the ip address in the common names field when generating Certificate Signing Request (CSR). But the same SSL certificate may not work on another ip address. A similar issue was discussed on: Is it possible to have SSL certificate for IP address, not domain name?

You can create your own host name and enter it in the hosts file of your operating system. Then you will have to create one self signed SSL certificate for this domain. You can use this SSL certificate on as many servers as you want.

If your server has a public ip address, then you should consider purchasing a domain from a domain provider such as GoDaddy.

1
  • Thats so helpful, thanx alot
    – Jahury
    Mar 31, 2017 at 12:36
0

You can use the same certificate for as many servers as your want, until your domain name matches the common name in the certificate. Note that it will still be untrusted for every client as it is not signed by a CA.

2
  • If i dont have domain name , can I use an IP instead?
    – Jahury
    Mar 30, 2017 at 21:21
  • No, that will not work. You will need a domain name. Apr 1, 2017 at 22:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.