SSL for IP and name together

Ok so it is a testing I am doing or willing to do, Can we generate a common certificate/ssl for my public IP of my website and for the domain of my website. Example:

My website is abc.in and IP is 1.2.3.4 , so I can get a common certificate that would be valid for my IP and my website as well.

Just giving a thought, happy to learn new things if anyone have already get success in this.

Yes. You can get a cert that contains multiple different types of identifiers.

Be aware that IP identifiers currently cannot be used with the dns-01 challenge. And wildcard domain identifiers can only be used with the dns-01 challenge. So if you plan to get a cert that contains both an IP and a wildcard name, you'll need to have an ACME client that supports different validator plugins per name.

Additionally, the IP identifiers require a client that supports ACME profiles so you can request the shortlived profile.

8 Likes

Thanks!
I will try this and will update the thread if get the success

2 Likes