Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 read that nginx works with OpenSSL. But since GnuTLS is the only software that provides TLS 1.2 support, it would be useful to combine that.

So, how can I compile nginx with GnuTLS on Ubuntu? =)

share|improve this question
I dont think that nginx has TLS support. After searching their wiki, I have found nothing that suggests that it supports TLS at this time. You could consider making a feature request on their site. – Thomas Ward Jul 18 '11 at 19:47

It is not possible to use GnuTLS with nginx. Here are some source files having ssl in their names (from the nginx 1.7.7 source), GnuTLS does not seem to be mentioned:


Neither has GnuTLS been mentioned in the source (grep -rni gnutls . or even grep -rni gnu .). According to Compatibility with the OpenSSL Library, GnuTLS cannot fully replace OpenSSL.

Unless you really need it, use the current version of nginx and OpenSSL. Work has been done for OpenSSL 1.0.1 to support TLS 1.2. See Changes between 1.0.0h and 1.0.1 [14 Mar 2012].

share|improve this answer

UPDATE: OpenSSL 1.0.1 beta adds TLS 1.1 and 1.2 support.

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.