mirror of
https://github.com/moparisthebest/spdylay
synced 2024-12-21 23:28:52 -05:00
shrpx: Load certificate chain from file
This commit is contained in:
parent
83b3827b51
commit
d36f9f1c5b
@ -105,8 +105,8 @@ SSL_CTX* create_ssl_context()
|
||||
LOG(FATAL) << "SSL_CTX_use_PrivateKey_file failed.";
|
||||
DIE();
|
||||
}
|
||||
if(SSL_CTX_use_certificate_file(ssl_ctx, get_config()->cert_file,
|
||||
SSL_FILETYPE_PEM) != 1) {
|
||||
if(SSL_CTX_use_certificate_chain_file(ssl_ctx,
|
||||
get_config()->cert_file) != 1) {
|
||||
LOG(FATAL) << "SSL_CTX_use_certificate_file failed.";
|
||||
DIE();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user