Super User is a question and answer site for computer enthusiasts and power users. 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

We have these separate sites:,, and Now we want to add an SSL Certificate to these sites.

There is a pretty good tutorial for this, but I have a couple questions:

  1. Can I use one SSL certificate on these three sites?

  2. If the answer of 1 is yes, do I need to change the CSR generating commands for this?

list the commands below

#Must do these as root.
openssl genrsa -des3 -out 2048
#you will be prompted to enter password
openssl rsa -in -out
#you will be prompted to enter password you created in last step
openssl req -new -key -out
share|improve this question
It really depends on what CA you are using. For example, many of them ignore the fields in the request except for the public key. But the short answer is that this is what a wildcard SSL certificate is for. – David Schwartz Sep 4 '12 at 10:03
@David There is a Common Name option in generating, you mean I just set it to * – mitnk Sep 4 '12 at 10:07
Ask your CA. They most likely ignore it. They may want it to be, but * is typical. – David Schwartz Sep 4 '12 at 10:08
Okey, Thank you, David – mitnk Sep 4 '12 at 10:10

If the a, b and c resolves to the same ip, you can create a certificate with alias names.

E.g. add the folowing to your request:

# Instead the additional names are form entries on web
# pages where one requests the certificate...
subjectAltName          = @alt_names
DNS.1_default           =
DNS.2_default           =
DNS.3_default           =
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .