History log of /dovecot/doc/mkcert.sh
Revision Date Author Comments Expand
e8e00a579e12dcb57b0c4077fed2df3f4106ae5a 25-Nov-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

mkcert.sh: Use umask to create key file as 0600 Fixes a race condition between creation of the file and a later chmod. This script was mostly meant as an example though, and not really for production use. Especially because it generates self-signed certs. CVE-2016-4983

47229f40be81e07162694e2993ded30818a6708a 15-Jun-2006 Timo Sirainen <tss@iki.fi>

If cert/key directories don't exist, exit immediately instead of just priting the errors. --HG-- branch : HEAD

46307f44857cc2a72f4b79538cb5fa0c6e8eb32b 23-Jul-2004 Timo Sirainen <tss@iki.fi>

Make certificate valid for one year --HG-- branch : HEAD

bc5d4121530326b78c9eac319ea10da5f67b07d5 21-Nov-2003 Timo Sirainen <tss@iki.fi>

write dovecot.pem, not imapd.pem files. --HG-- branch : HEAD

4827dd103cc836a57aae3ca1aa9409ce45f648c3 15-Jul-2003 Timo Sirainen <tss@iki.fi>

Quotes around echo --HG-- branch : HEAD

e7b2b71d91da7f07439247fe0df02921ab13f61e 24-Feb-2003 Timo Sirainen <tss@iki.fi>

comment update --HG-- branch : HEAD

0f0dfe241add9fc4d37df7a9862e40d7de8555b5 04-Dec-2002 Timo Sirainen <tss@iki.fi>

Subject printing used wrong certificate file. --HG-- branch : HEAD

100c1b9bc751c564567a32e6d19eef19af9daacd 24-Nov-2002 Timo Sirainen <tss@iki.fi>

Name the cert and key files as "imapd.pem" after all like they're in config file. I'm not sure what's the standard naming in /etc/ssl though. --HG-- branch : HEAD

850f5063cc1228fa19e91323b51e1f997577f3f8 24-Nov-2002 Timo Sirainen <tss@iki.fi>

Added script to easily generate self-signed certificate. --HG-- branch : HEAD