Skip to content

Commit

Permalink
Expand SSL_CTX_set_default_verify_paths() documentation
Browse files Browse the repository at this point in the history
Add some information about the location of the default directory and the
default file.

RT#1051

Reviewed-by: Andy Polyakov <appro@openssl.org>
  • Loading branch information
mattcaswell committed Jun 10, 2016
1 parent fe08bd7 commit f5de06a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/ssl/SSL_CTX_load_verify_locations.pod
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ SSL_CTX_load_verify_locations() specifies the locations for B<ctx>, at
which CA certificates for verification purposes are located. The certificates
available via B<CAfile> and B<CApath> are trusted.

SSL_CTX_set_default_verify_paths() specifies that the default locations for
SSL_CTX_set_default_verify_paths() specifies that the default locations from
which CA certificates are loaded should be used. There is one default directory
and one default file.
and one default file. The default CA certificates directory is called "certs" in
the default OpenSSL directory. Alternatively the SSL_CERT_DIR environment
variable can be defined to override this location. The default CA certificates
file is called "cert.pem" in the default OpenSSL directory. Alternatively the
SSL_CERT_FILE environment variable can be defined to override this location.

SSL_CTX_set_default_verify_dir() is similar to
SSL_CTX_set_default_verify_paths() except that just the default directory is
Expand Down

0 comments on commit f5de06a

Please sign in to comment.