SSL_CTX_set_cert_store man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

SSL_CTX_set_cert_store(3)			     SSL_CTX_set_cert_store(3)

NAME
       SSL_CTX_set_cert_store - Manipulate X509 certificate verification stor‐
       age.

SYNOPSIS
       #include <openssl/ssl.h>

       void SSL_CTX_set_cert_store(
	       SSL_CTX *ctx,
	       X509_STORE *store ); X509_STORE *SSL_CTX_get_cert_store(
	       SSL_CTX *ctx );

DESCRIPTION
       The SSL_CTX_set_cert_store()  function  sets/replaces  the  certificate
       verification   storage  of  ctx	to/with	 store.	 If another X509_STORE
       object is currently set in ctx, it  will	 be  X509_STORE_free()ed.  The
       SSL_CTX_get_cert_store() function returns a pointer to the current cer‐
       tificate verification storage.

NOTES
       In order to verify the certificates presented by the peer,  trusted  CA
       certificates must be accessed. These CA certificates are made available
       via lookup methods, handled inside the X509_STORE.

       From the X509_STORE, the X509_STORE_CTX used  when  verifying  certifi‐
       cates  is created.      Typically the trusted certificate store is han‐
       dled indirectly via using the  SSL_CTX_load_verify_locations()function.
       Using  the  SSL_CTX_set_cert_store()  and  the SSL_CTX_get_cert_store()
       functions it is possible to manipulate the X509_STORE object beyond the
       SSL_CTX_load_verify_locations() function.

       Not  all members of the X509_STORE are used when the verification takes
       place, but no detailed documentation  on	 how  to  use  the  X509_STORE
       object is currently available.

RETURN VALUES
       The  SSL_CTX_set_cert_store()  function does not return diagnostic out‐
       put.

       The SSL_CTX_get_cert_store() function returns the current setting.

SEE ALSO
       Functions: ssl(3),  SSL_CTX_load_verify_locations(3),  SSL_CTX_set_ver‐
       ify(3)

						     SSL_CTX_set_cert_store(3)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net