Verify that the private key configured on an SSL_CTX matches its certificate.
Synopsis
Declared in <openssl/ssl.h>
int
SSL_CTX_check_private_key(SSL_CTX const* ctx);
Return Value
1 if the key matches the certificate (or neither is set), or 0 on mismatch/error.
Parameters
Name |
Description |
ctx |
SSL context whose default certificate and private key are compared. |
Created with MrDocs