mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
SSL_CTX_use_PrivateKey_file uses private key, not certificate
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3070)
This commit is contained in:
parent
d5d5b5fc77
commit
3aaa1bd076
@ -103,7 +103,7 @@ SSL_use_PrivateKey_ASN1() and SSL_use_RSAPrivateKey_ASN1() add the private
|
||||
key to B<ssl>.
|
||||
|
||||
SSL_CTX_use_PrivateKey_file() adds the first private key found in
|
||||
B<file> to B<ctx>. The formatting B<type> of the certificate must be specified
|
||||
B<file> to B<ctx>. The formatting B<type> of the private key must be specified
|
||||
from the known types SSL_FILETYPE_PEM, SSL_FILETYPE_ASN1.
|
||||
SSL_CTX_use_RSAPrivateKey_file() adds the first private RSA key found in
|
||||
B<file> to B<ctx>. SSL_use_PrivateKey_file() adds the first private key found
|
||||
|
Loading…
Reference in New Issue
Block a user