{"id":3412,"date":"2022-12-16T15:47:01","date_gmt":"2022-12-16T14:47:01","guid":{"rendered":"https:\/\/kudzia.eu\/b\/?p=3412"},"modified":"2022-12-27T18:16:30","modified_gmt":"2022-12-27T17:16:30","slug":"squid-based-forward-proxy-that-accepts-incoming-tls-encrypted-connections","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2022\/12\/squid-based-forward-proxy-that-accepts-incoming-tls-encrypted-connections\/","title":{"rendered":"squid-based forward proxy that accepts incoming tls-encrypted connections"},"content":{"rendered":"\n<p>we needed to do some interoperability testing, and for that we had to allow http client application to talk with http proxy via secure channel.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>on debian 11 i had to install package <em>squid-openssl<\/em> and add this line in \/etc\/squid\/squid.conf:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps_port 3129 tls-cert=\/etc\/letsencrypt\/live\/domain.name.of.proxy\/fullchain.pem tls-key=\/etc\/letsencrypt\/live\/domain.name.of.proxy\/privkey.pem\n\n<\/pre><\/div>\n\n\n<p>the ssl cert was generated by <em>certbot certonly. <\/em><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>that&#8217;s how i tested it:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncurl --proxy https:\/\/domain.name.of.proxy:3129  https:\/\/kudzia.eu\/ip\/\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>we needed to do some interoperability testing, and for that we had to allow http client application to talk with http proxy via secure channel. on debian 11 i had to install package squid-openssl and add this line in \/etc\/squid\/squid.conf: the ssl cert was generated by certbot certonly. that&#8217;s how i tested it:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[],"class_list":["post-3412","post","type-post","status-publish","format-standard","hentry","category-unimportant"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=3412"}],"version-history":[{"count":3,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3412\/revisions"}],"predecessor-version":[{"id":3416,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3412\/revisions\/3416"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=3412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=3412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=3412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}