nginx unknown directive ssl_protocols

Posted by ghostrifle on Server Fault See other posts from Server Fault or by ghostrifle
Published on 2013-06-11T20:35:26Z Indexed on 2014/08/20 22:22 UTC
Read the original article Hit count: 1550

Filed under:
|
|

I've compiled NGINX 1.4.1 with ssl support and wanted to secure my configuation with these lines:

ssl_prefer_server_ciphers on;
ssl_protocols        SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers          AES128-GCM-SHA256:AES256-GCM-SHA384:RC4-SHA:AES128-SHA256:AES256-SHA256;
ssl_session_cache       shared:TLSSL:16m;
ssl_session_timeout     10m;

This is the error I'm getting which I don't understand why it comes up:

nginx: [emerg] unknown directive "ssl_protocols        SSLv3"

my nginx configuration:

nginx version: nginx/1.4.1
built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
TLS SNI support enabled
configure arguments: --with-http_dav_module --with-http_gzip_static_module --with-    http_stub_status_module --prefix=/opt/nginx --with-http_perl_module --with-http_ssl_module --with-perl=/usr/bin/perl --with-http_geoip_module --with-http_realip_module

maybe anyone knows what I'm doing wrong?

© Server Fault or respective owner

Related posts about nginx

Related posts about ssl