deno/ext/tls
Divy b5808041e0
feat: allow disable hostname verification in TLS (#30409)
Fixes https://github.com/denoland/deno/issues/28903
Closes https://github.com/denoland/deno/issues/26190

- Adds a new option `unsafelyDisableHostnameVerification` to
`Deno.connectTls` and `Deno.startTls` to ignore DNS name mismatch errors
from rustls server verifier.
- Disable hostname verification in Node.js TLSSocket if
`checkServerIdentity` is a no-op.

---------

Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
2025-08-23 10:37:57 +05:30
..
testdata chore: upgrade to reqwest 0.12.4 and rustls 0.22 (#24388) 2024-07-02 02:09:47 +02:00
Cargo.toml 2.4.5 (#30476) 2025-08-21 13:41:58 +02:00
lib.rs feat: allow disable hostname verification in TLS (#30409) 2025-08-23 10:37:57 +05:30
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
tls_key.rs refactor: use Cow<Path> more in permissions (#30227) 2025-07-29 07:11:57 -04:00

deno_tls

This crate implements common utilities for TLS handling in other Deno extensions.