I tried to set env variable with my own SSL certificate: export SSL_CERT_FILE=/path/to/cert/XXX.cer
I did it via /lib/systemd/system/snapd.service file.
Then I restarted snapd service, and found that snapd process contains variable that I set (sudo cat /proc/$(pidof snapd)/environ), but the same error (x509: certificate signed by unknown authority)
Any updates?
I tried to set env variable with my own SSL certificate: export SSL_CERT_ FILE=/path/ to/cert/ XXX.cer
I did it via /lib/systemd/ system/ snapd.service file.
Then I restarted snapd service, and found that snapd process contains variable that I set (sudo cat /proc/$(pidof snapd)/environ), but the same error (x509: certificate signed by unknown authority)