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

Add the option of manually specifying paths to SSL certificates #296

Merged
merged 2 commits into from
Aug 31, 2016
Merged

Conversation

keslerm
Copy link
Contributor

@keslerm keslerm commented Aug 31, 2016

I needed to directly specify the paths to my SSL certificates to solve getting this running within a Kubernetes cluster where my SSL certificates are managed by kube-lego.

Kubernetes will let me mount the secret volume (which is where the ssl keys are stored) into the container, but the "self signed" and "custom" options really work with that.

This will let you define two additional env variables

SSL_CERT_PATH
SSL_KEY_PATH

Honestly just being able to manually tell what SSL certificates is very handy since obviously not everyone fits in a specific structure.

Let me know what you think or if there is anything I can improve!

@tomav
Copy link
Contributor

tomav commented Aug 31, 2016

Hi @keslerm, could you add a functional test on this part?

Thank you.

@keslerm
Copy link
Contributor Author

keslerm commented Aug 31, 2016

Sure can, wanted to get some feedback before I tried to figure out the tests.

@tomav tomav merged commit ee0c424 into docker-mailserver:master Aug 31, 2016
@tomav
Copy link
Contributor

tomav commented Aug 31, 2016

Thanks.

RichardFevrier pushed a commit to RichardFevrier/docker-mailserver that referenced this pull request Aug 26, 2019
…er-mailserver#296)

* Add the option of manually specifying paths to SSL certificates

* Adding tests for manual SSL changes
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

Successfully merging this pull request may close these issues.

None yet

2 participants