mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
feat(tls): custom in memory CA certificates (#12219)
This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`.
This commit is contained in:
parent
62920e4ef5
commit
0d7a417f33
15 changed files with 266 additions and 160 deletions
|
@ -255,7 +255,7 @@ impl FileFetcher {
|
|||
http_client: create_http_client(
|
||||
get_user_agent(),
|
||||
root_cert_store,
|
||||
None,
|
||||
vec![],
|
||||
None,
|
||||
unsafely_ignore_certificate_errors,
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue