Pros and cons of using a Http proxy v/s https proxy?

前端 未结 3 590
小鲜肉
小鲜肉 2020-12-25 08:27

The JVM allows proxy properties http.proxyHost and http.proxyPort for specifying a HTTP proxy server and https.proxyHost and https.proxyPort for specifying a HTTPS proxy ser

3条回答
  •  無奈伤痛
    2020-12-25 08:36

    If you mean connecting to a HTTP proxy server over TLS by saying HTTPS proxy, then

    I was wondering whether there are any advantages of using a HTTPS proxy server compared to a HTTP proxy server ?

    The advantage is that your client's connection to proxy server is encrypted. E.g. A firewall can't not see which host you use CONNECT method connect to.

    Is accessing a https url via a HTTPS proxy less cumbersome than accesing it from a HTTP proxy ?

    Everything is the same except that with HTTPS proxy, brower to proxy server connection is encrypted.

    But you need to deploy a certificate on your proxy server, like how a https website does, and use a pac file to configure the brower to enable Connecting to a proxy over SSL.

    For more details and a practical example, check my question and answer here HTTPs proxy server only works in SwitchOmega

提交回复
热议问题