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

Docksal Trusting CA Authority #6

Open
jjdougherty opened this issue May 10, 2019 · 0 comments
Open

Docksal Trusting CA Authority #6

jjdougherty opened this issue May 10, 2019 · 0 comments

Comments

@jjdougherty
Copy link

I've been trying to get docksal to use a nonstandard cert per the doc
I've set URL.crt and URL.key in the /etc/certs/custom/ folder and tagged the cert with a label in my docksal.yml

However, when i run fin restart and load the site it still serves the default *.docksal cert.

When I run docker logs docksal-vhost-proxy i get:
[proxyctl notify]: nginx: [emerg] PEM_read_bio_X509_AUX("/etc/certs/custom/URL.crt") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)

From this i assumed i needed to trust the CA cert to the box. I trusted the cert locally then realized the cert needed to be trusted in the container after i got the same error.

I haven't made much progress on getting the container to trust a CA cert. Has anyone seen anything like this? I didnt know if there was a known fix or if im trying to do something way off base here.

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