Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Will a wildcard certificate work with a domain and a subdomain?

http://example.com

http://sub.example.com

Can I setup a wildcard certificate to be used by these two? In the tutorials I have followed, they always use two or more subdomains without the main domain (tutorials here and here)

share|improve this question
1  
This would not be a problem. –  ZEDA-NL Apr 19 '12 at 7:41
add comment

1 Answer

up vote 1 down vote accepted

Simple answer is yes.

If you configure *.helpme.com, you can secure

  • www.helpme.com
  • photos.helpme.com
  • blog.helpme.com etc

The wildcard certificate will only secures the level of subdomain you specify. So for example, if a certificate is configured for *.www.helpme.com, it will not secure www.helpme.com.

share|improve this answer
    
This is why a typical wildcard certificate issued to example.com would include two names, *.example.com and example.com. –  David Schwartz Apr 19 '12 at 9:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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