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.

I have found tutorials in the past for creating self-signed certificates. Now for my personal website (on a virtual server), I want to use a self-signed SSL certificate for logging into my WordPress admin panel. The problem is that I am running multisite; so each site has a different hostname (domain.com, site2.domain.com, site3.domain.com) for the admin panel. Can I create a self-signed certificate that can protect all of the subdomains as well as the root? How do I do that?

Yes, Apache and OpenSSL. The instructions I found are at: https://help.ubuntu.com/10.04/serverguide/C/certificates-and-security.html

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You should be able to replace domain.com with *.domain.com when generating the CSR.

Details for using openssl with apache found here

After you run openssl req -new -key server.key -out server.csr. It will prompt you for a "Common Name" use *.domain.com (where domain.com is your domain name).

More details may be required like are you using apache? And are you using openssl to generate the cert?

share|improve this answer
    
Your assumptions are correct. I clarified that. –  Mike Wills Jun 3 '11 at 20:37
    
Did you check out the link I posted. –  JamesBarnett Jun 3 '11 at 21:13
    
Just briefly. I'll look at it in detail this weekend. –  Mike Wills Jun 3 '11 at 21:26
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.