mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
df45fd1794
gen.pl now insists on C: and SPDX-License-Identifier: fields to be present in all files. Closes #9002
28 lines
1.1 KiB
Makefile
28 lines
1.1 KiB
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: insecure
|
|
Short: k
|
|
Help: Allow insecure server connections
|
|
Protocols: TLS SFTP SCP
|
|
See-also: proxy-insecure cacert capath
|
|
Category: tls sftp scp
|
|
Example: --insecure $URL
|
|
Added: 7.10
|
|
---
|
|
By default, every secure connection curl makes is verified to be secure before
|
|
the transfer takes place. This option makes curl skip the verification step
|
|
and proceed without checking.
|
|
|
|
When this option is not used for protocols using TLS, curl verifies the
|
|
server's TLS certificate before it continues: that the certificate contains
|
|
the right name which matches the host name used in the URL and that the
|
|
certificate has been signed by a CA certificate present in the cert store.
|
|
See this online resource for further details:
|
|
https://curl.se/docs/sslcerts.html
|
|
|
|
For SFTP and SCP, this option makes curl skip the *known_hosts* verification.
|
|
*known_hosts* is a file normally stored in the user's home directory in the
|
|
\&.ssh subdirectory, which contains host names and their public keys.
|
|
|
|
**WARNING**: using this option makes the transfer insecure.
|