How can we configure an https proxy that will be reach via http (and not https)?

  • Proxy are giving me a hard time.


    Why can't we have a raw field to specify the proxy we need.

    Right now I can't configure the required proxy to make update work.


    How can I get the following line in /etc/apt/apt.conf.d/99openmediavault-proxy:

    Acquire::https::Proxy "http://<IP address>:<port>";


    In the past I was manually removing the unwanted "s" from the file to make it work.

    But the update seem to regenerate the file now which make the update timeout.



    Here is the output of the upgrade:


    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    openmediavault is already the newest version (5.6.7-1).

    Calculating upgrade... Done

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    3 not fully installed or removed.

    After this operation, 0 B of additional disk space will be used.

    Do you want to continue? [Y/n] Y

    Setting up openmediavault (5.6.7-1) ...

    Creating configuration database ...

    Migrating configuration database ...

    Running migration conf_5.6.0

    Setting up Salt environment ...

    Processing system modifications ...

    dpkg: error processing package openmediavault (--configure):

    installed openmediavault package post-installation script subprocess returned error exit status 1

    dpkg: dependency problems prevent configuration of openmediavault-diskstats:

    openmediavault-diskstats depends on openmediavault (>= 5.6.0); however:

    Package openmediavault is not configured yet.


    dpkg: error processing package openmediavault-diskstats (--configure):

    dependency problems - leaving unconfigured

    dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:

    openmediavault-omvextrasorg depends on openmediavault (>= 5.0); however:

    Package openmediavault is not configured yet.


    dpkg: error processing package openmediavault-omvextrasorg (--configure):

    dependency problems - leaving unconfigured

    Errors were encountered while processing:

    openmediavault

    openmediavault-diskstats

    openmediavault-omvextrasorg

    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Is there a way to comment out the regeneration of the apt proxy configuration file (99openmediavault-proxy) so I can finish this update?


    It would also be nice to configure docker's proxy.

    If you don't manually edit the docker configuration file to include proxy, you are not able to install Portainer (and any other containers which need to be get via a proxy).


    Thanks for any useful info I will get

  • HTTPS is an extension of HTTP with encryption support. Due to this possibility, the security of users on websites, including their data, is increased, so I see no reason to give access via http.

  • Please read: RE: https proxy settings in openmediavault with a http-proxy for https traffic

  • Basically, there is no concept of HTTPS proxy. 2 concepts can fall under this term: You connect to the proxy using TLS and then use the HTTP CONNECT method to connect. The third-party does not see anything but TLS packets. The second option is you are connecting to a proxy without TLS. The third party sees all the HTTP headers: the CONNECT method, the host/port you are connecting to, and the authorization headers. On various resources where they provide lists of free and paid HTTPS proxies, such as ShiftProxy, they usually mean the second option.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!