~miloslu/snap-store-proxy-charm:main

Last commit made on 2023-01-29
Get this branch:
git clone -b main https://git.launchpad.net/~miloslu/snap-store-proxy-charm
Only Milos can upload to this branch. If you are Milos please log in for upload directions.

Branch merges

Branch information

Name:
main
Repository:
lp:~miloslu/snap-store-proxy-charm

Recent commits

af5fdf9... by Tong Shinn

snap-store-proxy CLI has the import-certificate option. Update the charm to use it instead of setting proxy.tls.cert and proxy.tls.key directly, which doesn't fully work.

Merged from https://code.launchpad.net/~tshinn/snap-store-proxy-charm/+git/snap-store-proxy-charm/+merge/436362

5ee7c4a... by Tong Shinn

snap-store-proxy CLI has the import-certificate option. Update the charm to use it instead of setting proxy.tls.cert and proxy.tls.key directly, which doesn't fully work.

f67d992... by Tong Shinn

Add support for configuring the proxy nginx with self signed certificate by setting both the "certificate" and "private_key" configurations to "selfsigned".

The reason for overloading the existing "certificate" and "private_key" configurations is that if a new configuration variable is created for enabling self-signed certs, the charm's behaviour becomes unclear when both the new variable and the existing variables are populated.

Merged from https://code.launchpad.net/~tshinn/snap-store-proxy-charm/+git/snap-store-proxy-charm/+merge/436227

ef4d614... by Tong Shinn

snap-proxy is an alias for snap-store-proxy so use the full file name to be safe.

15e24e3... by Tong Shinn

Update README.md to include instructions for how to configure a self signed certificate.

fa79765... by Tong Shinn

Add support for configuring the proxy nginx with self signed certificate by setting both the "certificate" and "private_key" configurations to "selfsigned".

6d71017... by Tong Shinn

Set max line length to 88 (Store team convention).

Merged from https://code.launchpad.net/~tshinn/snap-store-proxy-charm/+git/snap-store-proxy-charm/+merge/436222

240ec23... by Tong Shinn

Set max line length to 88 (Store team convention).

18fc379... by Tong Shinn

self._stored.domain contains the full URL (including http:// or https://) and thus directly comparing it to the CN or SAN of certificates does not work. Extract the hostname from the URL so that we can make the comparison.

Merged from https://code.launchpad.net/~tshinn/snap-store-proxy-charm/+git/snap-store-proxy-charm/+merge/436217

be20e8b... by Tong Shinn

Fix unit test and lint issues.