ssl certificate from different providers for main domain and its sub domain
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ssl certificate from different providers for main domain and its sub domain
I am using Cent OS 7 server with apache 2.4.6.
I need to enable https for www.mysite.com and also for one of its subdomain xyz.mysite.com
Now If i purchase ssl certificate from a service provider (eg: godaddy), can i purchase ssl for xyz.mysite.com from other service provider (eg: comodo)
Here I am mentioning purchasing from two service providers.
Is it possible?
It should, each certificate will cover only one host by default. The fact that the certificates comes from one vendor or another doesn't change anything.
Options are:
2 x single certs for each sub-domain(www and xyz)
1 x wildcard cert for the domain *.domain.com
1 x multi-domain cert with www.domain.com and xyz.domain.com
2 x free certs from letsencrypt.org
As for mixing and matching, all highly possible. At work we have a standard cert for certain things and a EV cert for the main transacting site.
... However, I am of the opinion that you always should be "consistent." If foobar.mydomain.com is purportedly secured by an entirely-different certificate from bletch.mydomain.com, then my suspicions would immediately be raised.
If you have a number of such subdomains, you might look into getting your own signing certificate. Then you use that to create and sign server certificates as often as you want. This is both consistent, and may be cheaper than paying for multiple certificates from various vendors. It also gives YOU control over your server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.