• Home
  • Raw
  • Download

Lines Matching refs:certificate

16 - load certificate and key data
66 SSL_CTX_use_certificate() loads the certificate B<x> into B<ctx>,
68 certificates needed to form the complete certificate chain can be
73 SSL_CTX_use_certificate_ASN1() loads the ASN1 encoded certificate from
75 SSL_use_certificate_ASN1() loads the ASN1 encoded certificate into B<ssl>.
77 SSL_CTX_use_certificate_file() loads the first certificate stored in B<file>
78 into B<ctx>. The formatting B<type> of the certificate must be specified
80 SSL_use_certificate_file() loads the certificate from B<file> into B<ssl>.
84 SSL_CTX_use_certificate_chain_file() loads a certificate chain from
86 be sorted starting with the subject's certificate (actual client or server
87 certificate), followed by intermediate CA certificates if applicable, and
89 similar except it loads the certificate chain into B<ssl>.
95 If a certificate has already been set and the private does not belong
96 to the certificate an error is returned. To change a certificate, private
97 key pair the new certificate needs to be set with SSL_use_certificate()
102 certificate B<x>, private key B<key>, and certificate B<chain> onto the
104 key of the X.509 certificate B<x>. If the B<override> argument is 0, then
106 If B<override> is non-0, then the certificate, private key and chain certs
131 the corresponding certificate loaded into B<ctx>. If more than one
132 key/certificate pair (RSA/DSA) is installed, the last item installed will
133 be checked. If e.g. the last item was a RSA certificate or key, the RSA
134 key/certificate pair will be checked. SSL_check_private_key() performs
135 the same check for B<ssl>. If no key/certificate was explicitly added for
140 The internal certificate store of OpenSSL can hold several private
141 key/certificate pairs at a time. The certificate used depends on the
146 one certificate or private key, consequently
150 SSL_CTX_use_certificate_chain_file() adds the first certificate found
151 in the file to the certificate store. The other certificates are added
153 certificate chain store for all certificate types, OpenSSL 1.0.2 and later
156 to allow the use of complete certificate chains even when no trusted CA
157 storage is used or when the CA issuing the certificate shall not be added to
170 of view, it however does not make sense as the data in the certificate
173 All of the functions to set a new certificate will replace any existing
174 certificate of the same type that has already been set. Similarly all of the
177 L<SSL_check_private_key(3)> as appropriate after loading a new certificate and
178 private key to confirm that the certificate and key match.