]> git.kaiwu.me - nginx.git/commit
SSL: logging level of "no suitable signature algorithm".
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 25 Sep 2018 11:00:04 +0000 (14:00 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 25 Sep 2018 11:00:04 +0000 (14:00 +0300)
commitb7edec61c3f37ebce5f55c4ec613b2275c11a7d7
tree4f12dacfe1b100e8e7165976be5a587ef823f490
parent31ef0c47ca676c6640dc535fd5720a831b4c046c
SSL: logging level of "no suitable signature algorithm".

The "no suitable signature algorithm" errors are reported by OpenSSL 1.1.1
when using TLSv1.3 if there are no shared signature algorithms.  In
particular, this can happen if the client limits available signature
algorithms to something we don't have a certificate for, or to an empty
list.  For example, the following command:

    openssl s_client -connect 127.0.0.1:8443 -sigalgs rsa_pkcs1_sha1

will always result in the "no suitable signature algorithm" error
as the "rsa_pkcs1_sha1" algorithm refers solely to signatures which
appear in certificates and not defined for use in TLS 1.3 handshake
messages.

The SSL_R_NO_COMMON_SIGNATURE_ALGORITHMS error is what BoringSSL returns
in the same situation.
src/event/ngx_event_openssl.c