Skip to main content

property Deno.ConnectTlsOptions.unsafelyDisableHostnameVerification

If true, the certificate's common name or subject alternative names will not be checked against the hostname provided in the options.

This disables hostname verification but still validates the certificate chain. Use with caution and only when connecting to known servers.

Type #

boolean

Did you find what you needed?

Privacy policy