Skip to content

Commit da2c36d

Browse files
committed
librb/src/openssl.c: certfp: ignore the error X509_V_ERR_INVALID_PURPOSE
LetsEncrypt are going to be removing the clientAuth EKU from all of their issued certificates in February 2026. Conformant TLS implementations that verify a client certificate following PKIX guidelines will reject these certificates. Fortunately we have our own verification callback, as we do not participate in the Web PKI. Ignore the error code corresponding to an invalid key usage.
1 parent c3649db commit da2c36d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

librb/src/openssl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ rb_get_ssl_certfp(rb_fde_t *const F, uint8_t certfp[const RB_SSL_CERTFP_LEN], co
587587
case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
588588
case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY:
589589
case X509_V_ERR_CERT_UNTRUSTED:
590+
case X509_V_ERR_INVALID_PURPOSE:
590591
len = make_certfp(peer_cert, certfp, method);
591592
// fallthrough
592593
default:

0 commit comments

Comments
 (0)