dbe3dc7726
"That works way better." ok marco@
25 lines
663 B
Plaintext
25 lines
663 B
Plaintext
$OpenBSD: patch-doc_mkcert_sh,v 1.6 2006/07/16 02:43:08 brad Exp $
|
|
--- doc/mkcert.sh.orig Fri Jun 9 07:01:10 2006
|
|
+++ doc/mkcert.sh Tue Jun 13 20:42:58 2006
|
|
@@ -5,18 +5,12 @@
|
|
|
|
OPENSSL=${OPENSSL-openssl}
|
|
SSLDIR=${SSLDIR-/etc/ssl}
|
|
-OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}
|
|
+OPENSSLCONFIG=${OPENSSLCONFIG-${SSLDIR}/dovecot-openssl.cnf}
|
|
|
|
-CERTDIR=$SSLDIR/certs
|
|
KEYDIR=$SSLDIR/private
|
|
|
|
-CERTFILE=$CERTDIR/dovecot.pem
|
|
+CERTFILE=$SSLDIR/dovecotcert.pem
|
|
KEYFILE=$KEYDIR/dovecot.pem
|
|
-
|
|
-if [ ! -d $CERTDIR ]; then
|
|
- echo "$SSLDIR/certs directory doesn't exist"
|
|
- exit 1
|
|
-fi
|
|
|
|
if [ ! -d $KEYDIR ]; then
|
|
echo "$SSLDIR/private directory doesn't exist"
|