View Source tls_certificate_check (tls_certificate_check v1.16.0)
Link to this section Summary
Functions
Returns the list of ssl:connect
options necessary to validate the server certificate against a list of trusted authorities, as well as to verify whether the server hostname matches one in the server certificate.
Returns the list of trusted authorities.
Link to this section Types
Specs
option() :: ssl:tls_client_option().
Link to this section Functions
Specs
options(Target) -> Options when Target :: Hostname | URL, Hostname :: iodata(), URL :: iodata(), Options :: [option()].
Returns the list of ssl:connect
options necessary to validate the server certificate against a list of trusted authorities, as well as to verify whether the server hostname matches one in the server certificate.
Target
can be either a hostname or an HTTP URL, asiodata()
Specs
trusted_authorities() -> CAs when CAs :: [public_key:der_encoded(), ...].