Skip to content

Instantly share code, notes, and snippets.

@mikz
Last active August 29, 2015 14:06
Show Gist options
  • Save mikz/4ce4307329095114b109 to your computer and use it in GitHub Desktop.
Save mikz/4ce4307329095114b109 to your computer and use it in GitHub Desktop.
nginx ssl CApath
--- 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