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

SSL client CA certificate #44

Open
prosadoc opened this issue Oct 29, 2018 · 3 comments
Open

SSL client CA certificate #44

prosadoc opened this issue Oct 29, 2018 · 3 comments

Comments

@prosadoc
Copy link

How can I pass the CA certificate to the container?

I have a certificate error in mobile phones

Oct 29 09:48:46 mail dovecot: imap-login: Error: SSL: Stacked error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown: SSL alert number 46
Oct 29 09:48:46 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=154.48.131.200, lip=172.30.0.2, TLS handshaking: SSL_accept() failed: Unknown error, session=<4BEcI1p5aKmaMIPI>

@InfiniteLukeOne
Copy link

you can either push it in manually:

docker cp -L /path/to/fullchain.pem iredmail:/etc/ssl/certs/iRedMail.crt
docker cp -L /path/to/privkey.pem iredmail:/etc/ssl/private/iRedMail.key

or map it at creation time:

docker run (...)
           -v /path/to/privkey.pem:/etc/ssl/private/iRedMail.key:ro \
           -v /path/to/fullchain.pem:/etc/ssl/certs/iRedMail.crt:ro \
           (...)

@prosadoc
Copy link
Author

prosadoc commented Nov 2, 2018

I also need the other file CA Certificate

@lejmr
Copy link
Owner

lejmr commented Jan 13, 2020

Thanks for the feedback.. will update README.. but mounting is the best approach.

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

3 participants