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 just need a bit of help with https config for nginx using a wildcard domain name across 2 servers.

we have the wildcard domain lets call it *

We currently have a server and that's running with the wild card cert just fine. What we want to do now is set up a community site called and run that from a new machine.

Do I just copy the existing .crt and .key files from the existing server and copy them to the new machine and adjust my domain name accordingly?

possible examble ....

server {
listen        443;

    ssl             on;
    ssl_certificate         /etc/ssl/certs/;
    ssl_certificate_key     /etc/ssl/private/;


Or is there some sort of ssl key related stuff I have to do ?



share|improve this question

If you have a wildcard SSL certificate, then that's all you have to do. They are locked to domain names, not to specific servers or IP addresses.

share|improve this answer

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.