Last active
August 29, 2015 14:06
-
-
Save mikz/4ce4307329095114b109 to your computer and use it in GitHub Desktop.
nginx ssl CApath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- bundle/nginx-1.7.4/src/event/ngx_event_openssl.c.orig 2014-09-10 23:33:09.000000000 +0200 | |
+++ bundle/nginx-1.7.4/src/event/ngx_event_openssl.c 2014-09-10 23:33:49.000000000 +0200 | |
@@ -498,6 +498,7 @@ | |
SSL_CTX_set_verify_depth(ssl->ctx, depth); | |
if (cert->len == 0) { | |
+ SSL_CTX_set_default_verify_paths(ssl->ctx); | |
return NGX_OK; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment