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 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:

auto/lib/openssl/
src/mail/ngx_mail_ssl_module.h
src/mail/ngx_mail_ssl_module.c
src/http/modules/ngx_http_ssl_module.c
src/http/modules/ngx_http_ssl_module.h
src/event/ngx_event_openssl.h
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl_stapling.c

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

 
discard

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.