I am using proxy plugin and vodafone.com is giving 502 Bad Gateway error. If I run the following command from my Caddy proxy machine:
curl -ILX GET https://www.vodafone.com
as suggested in this post, I got the following response:
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none More details here: http://curl.haxx.se/docs/sslcerts.html ...
If I add insecure_skip_verify to the proxy, it can serve vodafone.com. Will this approach sacrifice security for other HTTPS sites that will be served by my proxy? Is there any other way to fix the issue?