title: curl - Is data encrypted when using the --insecure option?
body: <p>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 validation and fails. curl provides an option <code>-k/--insecure</code> which disables certificate validation. </p>
  
  <p>My question is that on using <code>--insecure</code> option, is the data transfer that is done between client and server encrypted(as it should be for https urls)? I understand the security risk because of certificate validation not being done, but for this question I am only concerned about whether data transfer is encrypted or not. </p>