curl/docs/cmdline-opts/doh-insecure.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
729 B
Markdown
Raw Normal View History

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: doh-insecure
Help: Allow insecure DoH server connections
Added: 7.76.0
Category: dns tls
Multi: boolean
See-also:
- doh-url
2024-06-05 16:18:21 +08:00
- insecure
- proxy-insecure
Example:
- --doh-insecure --doh-url https://doh.example $URL
---
# `--doh-insecure`
2024-06-05 16:18:21 +08:00
By default, every connection curl makes to a DoH server is verified to be
secure before the transfer takes place. This option tells curl to skip the
verification step and proceed without checking.
**WARNING**: using this option makes the DoH transfer and name resolution
insecure.
This option is equivalent to --insecure and --proxy-insecure but used for DoH
(DNS-over-HTTPS) only.