From d2a9e6c1ee6ed2d696cd3071bfd11dfa2eb21571 Mon Sep 17 00:00:00 2001 From: GrupoCITEC Date: Wed, 17 Aug 2016 09:38:35 -0300 Subject: [PATCH] Updated Configure SSL (markdown) --- docs/content/config/security/ssl.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/content/config/security/ssl.md b/docs/content/config/security/ssl.md index 70acbeb7..f10aea36 100644 --- a/docs/content/config/security/ssl.md +++ b/docs/content/config/security/ssl.md @@ -20,7 +20,7 @@ You don't have anything else to do. Enjoy. You can easily generate a self-signed SSL certificate by using the following command: - docker run -ti --rm -v "$(pwd)"/postfix/ssl:/ssl -h mail.my-domain.com -t tvial/docker-mailserver generate-ssl-certificate + docker run -ti --rm -v "$(pwd)"/config/ssl:/ssl -h mail.my-domain.com -t tvial/docker-mailserver generate-ssl-certificate # Press enter # Enter a password when needed @@ -33,11 +33,11 @@ You can easily generate a self-signed SSL certificate by using the following com # 1 out of 1 certificate requests certified, commit? [y/n]y # will generate: - # postfix/ssl/mail.my-domain.com-key.pem (used in postfix) - # postfix/ssl/mail.my-domain.com-req.pem (only used to generate other files) - # postfix/ssl/mail.my-domain.com-cert.pem (used in postfix) - # postfix/ssl/mail.my-domain.com-combined.pem (used in courier) - # postfix/ssl/demoCA/cacert.pem (certificate authority) + # config/ssl/mail.my-domain.com-key.pem (used in postfix) + # config/ssl/mail.my-domain.com-req.pem (only used to generate other files) + # config/ssl/mail.my-domain.com-cert.pem (used in postfix) + # config/ssl/mail.my-domain.com-combined.pem (used in courier) + # config/ssl/demoCA/cacert.pem (certificate authority) Note that the certificate will be generate for the container `fqdn`, that is passed as `-h` argument. Check the following page for more information regarding [postfix and SSL/TLS configuration](http://www.mad-hacking.net/documentation/linux/applications/mail/using-ssl-tls-postfix-courier.xml). @@ -45,7 +45,7 @@ Check the following page for more information regarding [postfix and SSL/TLS con To use the certificate: * add an `DMS_SSL=self-signed` to your container environment variables -* if a matching certificate (files listed above) is found in `postfix/ssl`, it will be automatically setup in postfix and courier-imap-ssl. You just have to place them in `postfix/ssl` folder. +* if a matching certificate (files listed above) is found in `config/ssl`, it will be automatically setup in postfix and courier-imap-ssl. You just have to place them in `config/ssl` folder. ### Testing certificate