]> git.kaiwu.me - nginx.git/commitdiff
use only strong ciphers by default
authorIgor Sysoev <igor@sysoev.ru>
Wed, 7 Oct 2009 14:46:13 +0000 (14:46 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 7 Oct 2009 14:46:13 +0000 (14:46 +0000)
src/http/modules/ngx_http_ssl_module.c
src/mail/ngx_mail_ssl_module.c

index 1d67eeb261fccea2b618993cf8c7ab00b5a1559e..94000fc1f5706dbffafec4cb1ed291cefb150194 100644 (file)
@@ -13,7 +13,7 @@ typedef ngx_int_t (*ngx_ssl_variable_handler_pt)(ngx_connection_t *c,
     ngx_pool_t *pool, ngx_str_t *s);
 
 
-#define NGX_DEFAULT_CIPHERS  "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM"
+#define NGX_DEFAULT_CIPHERS  "HIGH:!ADH:!MD5"
 
 
 static ngx_int_t ngx_http_ssl_static_variable(ngx_http_request_t *r,
index c9a9f35d80189b7768c9646dc1cea6e0e5e6cd41..90f2b1b2b16922abd3f29df7073d58b6c9e5f4a5 100644 (file)
@@ -9,7 +9,7 @@
 #include <ngx_mail.h>
 
 
-#define NGX_DEFAULT_CIPHERS  "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM"
+#define NGX_DEFAULT_CIPHERS  "HIGH:!ADH:!MD5"
 
 
 static void *ngx_mail_ssl_create_conf(ngx_conf_t *cf);