xref: /curl/docs/cmdline-opts/doh-insecure.md (revision 881e9a61)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: doh-insecure
5Help: Allow insecure DoH server connections
6Added: 7.76.0
7Category: dns tls
8Multi: boolean
9See-also:
10  - doh-url
11  - insecure
12  - proxy-insecure
13Example:
14  - --doh-insecure --doh-url https://doh.example $URL
15---
16
17# `--doh-insecure`
18
19By default, every connection curl makes to a DoH server is verified to be
20secure before the transfer takes place. This option tells curl to skip the
21verification step and proceed without checking.
22
23**WARNING**: using this option makes the DoH transfer and name resolution
24insecure.
25
26This option is equivalent to --insecure and --proxy-insecure but used for DoH
27(DNS-over-HTTPS) only.
28