Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 W. Jul 18 '11 at 19:47

2 Answers 2

It's not possible to use GnuTLS with nginx. The source files containing ssl in their names. From the nginx 1.0.4 source:


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

Unless you really need it, use the current version of nginx+openssl. Work has been done for OpenSSL 1.0.1 (not released yet) to support TLS 1.2. See Changes between 1.0.0e and 1.0.1 [xx XXX xxxx].

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.