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

Trust mkcert CA in containers #245

Open
kesselb opened this issue Nov 12, 2023 · 1 comment
Open

Trust mkcert CA in containers #245

kesselb opened this issue Nov 12, 2023 · 1 comment

Comments

@kesselb
Copy link
Contributor

kesselb commented Nov 12, 2023

For debugging federation, it would be nice to trust the mkcert CA also in the containers.

  • Get the ca path: mkcert -CAROOT
  • Copy the root ca to our work directory
  • Mount rootCA.pem to /usr/local/share/ca-certificates/rootCA.crt
  • Run update-ca-certificates as root

Leaving it here as an idea.
I trusted the certificates manually for now.

@juliusknorr
Copy link
Owner

Alternative for scripting could be

cp $(mkcert -CAROOT) data/shared/
docker-compose exec stable24 occ security:certificates:import /shared/rootCA.pem

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

No branches or pull requests

2 participants