Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 (,, 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:

share|improve this question
up vote 2 down vote accepted

You should be able to replace with * 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 * (where 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

Your Answer


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.