[squid-users] HTTPS through http proxy

Blaxton blaxxton at yahoo.com
Mon Dec 5 17:40:01 UTC 2016


HiĀ 
So I understand that using connect method https connection can pass through http proxybut I am seeing strange behavior and thought some one here might help me to findthe problem we are facing.
I am using simple java app to test https connectivity through http proxy:http://alvinalexander.com/blog/post/java/simple-https-example

If we run below command agains squid running on RedHat:
java -Dhttp.proxyHost=webcache.example.com -Dhttp.proxyPort=808 JavaHttpsExample
connection fails , and Squid log file won't even log any thing in log file.but if we run:java -Dhttps.proxyHost=webcache.example.com -Dhttps.proxyPort=8080 JavaHttpsExampleI get response and a line being recorded in log file.And now running the same app against different squid running on Centos,I get response from both but nothing being logged with -Dhttp.proxyHost.
Please help.If any one has any tips or any simple app to test different aspect of https connectivity through squid please let me know.Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161205/84e6f58c/attachment.html>


More information about the squid-users mailing list