class

Beryl::TLS::InsecureVerifier

Inherits Beryl::TLS::CertificateVerifier < Reference < Object

Accepts any chain; the CertificateVerify signature is still checked against the leaf key. For tests and development only.

Instance methods

verify_chain(chain : Array(Certificates::Certificate), hostname : String | Nil) : Nil

Raises CertificateRejected with the alert to send when chain (leaf first) is not trusted for hostname.

Source