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
add comment

2 Answers

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

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

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
add comment

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

share|improve this answer
add comment

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.