mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-26 04:57:52 +00:00
Motivation: When server users turn on certificate verification, they usually expect that they'll actually require the certificate from their peer. Sadly, this is not the BoringSSL default behaviour. Modifications: Set `SSL_VERIFY_FAIL_IF_NO_PEER_CERT` when requesting certificate validation. Result: Better certificate validation.