Can 0patch Agent work through an HTTPS proxy?

mitja.kolsek -

If you want 0patch Agent to establish connections via a proxy server, you need to configure that manually in the registry. As administrator, launch regedit.exe and open the HKEY_LOCAL_MACHINE\SOFTWARE\0patch key. There are three values under this key that allow you to configure proxy server communication:

  • ProxyHost – if empty, no proxy server will be used (the default setting); if non-empty, the proxy host in this value will be used, along with the proxy server port in the ProxyPort value
  • ProxyPort – if proxy server is used, this value will be used as the proxy server port (caution: the default Registry Editor number notation is hexadecimal - switch to decimal to type in the port number in decimal notation)
  • ProxyScheme – this value defines the proxy authentication scheme as follows
    • 0 – no authentication will be performed on the proxy server
    • 1 – BASIC authentication

If ProxyScheme is set to 1 (BASIC authentication), there are two additional values you have to set
under the HKEY_LOCAL_MACHINE\SOFTWARE\0patch\ProtectedSettings key. Note that unless you
run regedit.exe as administrator, you won't be able to even open this key because non-admin users
are not allowed to read proxy server credentials.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.