0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

SquidでHTTPS通信をする場合に追加する設定

Posted at

Squidを導入したProxyサーバを経由して、443以外のポートを使用しているHTTPSサイトにアクセスする場合の設定

やること

  • Safe_ports と SSL_ports に、使用するポートを追加する。
    この2つがセットで設定されている必要がある。
squid.conf
acl Safe_ports port 5000
acl SSL_ports port 5000

Safe_ports を追記することで、Proxy経由でのアクセスが許可される。
SSL_ports を追記することで、HTTPSアクセスが許可される。

参考:squid.confへの追記内容

補足

HTTPSアクセスを許可しているのは、デフォルトで記述されている以下の2つの記述。

acl CONNECT method CONNECT
http_access deny CONNECT !SSL_ports

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?