[multiple] clarify error msg when no cert avail

personal/stbuehler/tests-path
Glenn Strauss 2021-09-26 07:14:26 -04:00
parent 6e45cff05a
commit ff45d5865e
2 changed files with 2 additions and 2 deletions

View File

@ -1075,7 +1075,7 @@ mod_openssl_cert_cb (SSL *ssl, void *arg)
/* x509/pkey available <=> pemfile was set <=> pemfile got patched:
* so this should never happen, unless you nest $SERVER["socket"] */
log_error(hctx->r->conf.errh, __FILE__, __LINE__,
"SSL: no certificate/private key for TLS server name %s. "
"SSL: no certificate/private key for TLS server name \"%s\". "
"$SERVER[\"socket\"] should not be nested in other conditions.",
hctx->r->uri.authority.ptr);
return 0;

View File

@ -1206,7 +1206,7 @@ mod_openssl_cert_cb (SSL *ssl, void *arg)
/* x509/pkey available <=> pemfile was set <=> pemfile got patched:
* so this should never happen, unless you nest $SERVER["socket"] */
log_error(hctx->r->conf.errh, __FILE__, __LINE__,
"SSL: no certificate/private key for TLS server name %s. "
"SSL: no certificate/private key for TLS server name \"%s\". "
"$SERVER[\"socket\"] should not be nested in other conditions.",
hctx->r->uri.authority.ptr);
return 0;