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


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?

  • 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 clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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