Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with self signed certificate #29

Open
aios-ai opened this issue Dec 11, 2023 · 0 comments
Open

Problem with self signed certificate #29

aios-ai opened this issue Dec 11, 2023 · 0 comments

Comments

@aios-ai
Copy link

aios-ai commented Dec 11, 2023

If your stash instance is set up with an self singed SSL certificate you cant connect to it. In the logs you'll see this error:

tls: failed to verify certificate: x509: certificate signed by unknown authority

The following workaround solves it for me but you have to re-do it every time the container is updated:

  1. Copy the root ca.cert into the container: /usr/local/share/ca-certificates/ca.crt
  2. apk add ca-certificates
  3. update-ca-certificates
  4. reboot container

The best would be to have a config flag to set the cert properly or to ignore this error/skip the validation at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant