curl - Is data encrypted when using the --insecure option?

前端 未结 2 854
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 07:51

I have a situation where the client makes a call through curl to a https url. The SSL certificate of the https url is self signed and therefore curl cannot do certificate va

2条回答
  •  有刺的猬
    2020-11-29 08:29

    Yes, the transfered data is still sent encrypted. -k/--insecure will "only make" curl skip certificate validation, it will not turn off SSL all together.

    More information regarding the matter is available under the following link:

    • curl.haxx.se - Details on Server SSL Certificates

提交回复
热议问题