How to Make Curl Ignore Certificate Errors


title: "How to Make Curl Ignore Certificate Errors"
date: 2021-03-01T12:18:48+08:00
draft: true
tags: ['curl']
author: "dadigang"
author_cn: "大地缸"
personal: "http://www.real007.cn"


关于作者

http://www.real007.cn/about

How to Make curl Ignore Certificate Errors

Introduction

If you need to make curl ignore certificate errors, make sure you know the consequences of insecure SSL connections and transfers.

You should only practice skipping certificate checks for development purposes.

In this tutorial, you learn how to make curl ignore certificate errors.

[图片上传失败...(image-a01400-1616711048534)]

Make curl Ignore SSL Errors

The basic syntax for ignoring certificate errors with the curl command is:

curl --insecure [URL]

Alternatively, you can use:

curl -k [URL]

你可能感兴趣的:(How to Make Curl Ignore Certificate Errors)