Hi everyone,
So, I’ve setup an air-gapped enterprise-store and add a few snap packages onto it but clients failed to retrieve updates from it.
The enterprise-store itself runs with regular http but it’s behind a reverse proxy (something completely outside the server itself). This reverse proxy is setup to use httpS and handles certificates stuff. So I’ve register my enterprise-store with the --https flag.
When I get a look at the assertion using curl -sL ``https://my-reverse-proxy/v2/auth/store/assertions, the url is correct (it looks like https://my-reverse-proxy)
I’ve setup my client following the docs including the sudo snap set core proxy.store= thing.
But here comes my problems.
When I do a sudo snap refreshit keeps saying “storehelpers.go:916: cannot refresh:” followed by: “snap has no updates available: blablabla”. But I do have update. I definitely have a more recent of Firefox on my local store than on my computer.
Plus, when I do sudo snap install htop I get a timeout with this message: “(Get “http://my-reverse-proxy/api/v1/snaps/download/AljMvoQbHtnnrka00lIoxHJ6Qhfn0X8m_431.snap”: dial tcp xxx.xxx.xxx.xxx:80: connect: connection refused).
I double checked my configuration but I wasn’t able to figure out why it tries to download the package using http protocol instead of httpS.
If someone has an idea about what I’m missing…
Many thanks in advance for your help