docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
---
|
2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
Long: insecure
|
|
|
|
Short: k
|
2021-11-25 20:17:49 +08:00
|
|
|
Help: Allow insecure server connections
|
|
|
|
Protocols: TLS SFTP SCP
|
|
|
|
Category: tls sftp scp
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.10
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
See-also:
|
|
|
|
- proxy-insecure
|
|
|
|
- cacert
|
|
|
|
- capath
|
|
|
|
Example:
|
|
|
|
- --insecure $URL
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
|
|
|
|
# `--insecure`
|
|
|
|
|
2021-11-25 20:17:49 +08:00
|
|
|
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.
|
2016-11-16 06:44:58 +08:00
|
|
|
|
2021-11-25 20:17:49 +08:00
|
|
|
When this option is not used for protocols using TLS, curl verifies the
|
|
|
|
server's TLS certificate before it continues: that the certificate contains
|
2024-02-27 17:35:28 +08:00
|
|
|
the right name which matches the hostname 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:
|
docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
**https://curl.se/docs/sslcerts.html**
|
2021-08-31 22:37:14 +08:00
|
|
|
|
2021-11-25 20:17:49 +08:00
|
|
|
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
|
2024-02-27 17:35:28 +08:00
|
|
|
".ssh" subdirectory, which contains hostnames and their public keys.
|
2021-11-25 20:17:49 +08:00
|
|
|
|
2021-11-15 22:07:01 +08:00
|
|
|
**WARNING**: using this option makes the transfer insecure.
|
2022-12-22 06:36:57 +08:00
|
|
|
|
|
|
|
When curl uses secure protocols it trusts responses and allows for example
|
|
|
|
HSTS and Alt-Svc information to be stored and used subsequently. Using
|
|
|
|
--insecure can make curl trust and use such information from malicious
|
|
|
|
servers.
|