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


After thinking about it, we are planning to buy an SSL certificate. Because an SSL certificate is quite costly, would you be able to share your experience on SSL certificate(s) that works with nginx? I am planning to run Ruby on Rails application. Apache2 will be my last resort.

Thank you for sharing. Really appreciate it.

share|improve this question
what do you mean by "share an SSL certificate with nginx?" Share it with what? Please clarify your question. – MattB May 13 '10 at 13:46
Thanks Matt. I must have typed to fast. I've fixed the grammar. – Joshua Partogi May 13 '10 at 23:53
up vote 3 down vote accepted

SSL does not have to be costly. See my question here about why SSL is so expensive, and why they vary so much. Depending on WHY you want the certificate, you can get them from as low as $US10/year (this does away with insurance and fancy dynamic secured logos, etc, but provides the same level of encryption as most of the other certificates). For cheap providers, see this question here however don't just read the accepted answer, because there ARE cheaper solutions than GoDaddy.

Now, to certificates that work with nginx, you need to create a CSR, or Certificate Signing Request. This is usually done with OpenSSL. You can see here for some nginx-specific instructions, but the instructions for any open-ssl will be the same.

As far as setting up the SSL Virtualhosts, see here.

share|improve this answer claims to offer free certificates for 1 year. Never tried it though. – SaveTheRbtz May 16 '10 at 21:17
@save, I investigated it. Their browser acceptance is pretty low, and they use a chained certificate. Not ideal really. – Mark Henderson May 16 '10 at 23:50

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.