mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
more verbose log message
This commit is contained in:
@@ -345,7 +345,8 @@ unsigned usage;
|
||||
ret = gnutls_x509_crt_get_key_usage(crt, &usage, NULL);
|
||||
if (ret >= 0) {
|
||||
if (!(usage & GNUTLS_KEY_KEY_ENCIPHERMENT)) {
|
||||
mslog(s, NULL, LOG_WARNING, "server certificate key usage prevents key encipherment; unable to support the RSA ciphersuites\n");
|
||||
mslog(s, NULL, LOG_WARNING, "server certificate key usage prevents key encipherment; unable to support the RSA ciphersuites; "
|
||||
"if that is not intentional, regenerate the server certificate with the key usage flag 'key encipherment' set.");
|
||||
if (s->config->dh_params_file != NULL)
|
||||
mslog(s, NULL, LOG_WARNING, "no DH-params file specified; server will be limited to ECDHE ciphersuites\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user