$OpenBSD: patch-doc_mkcert_sh,v 1.2 2004/05/10 00:06:47 brad Exp $
--- doc/mkcert.sh.orig	2003-11-08 09:46:57.000000000 -0500
+++ doc/mkcert.sh	2004-05-07 21:19:54.000000000 -0400
@@ -5,14 +5,14 @@
 
 OPENSSL=${OPENSSL-openssl}
 SSLDIR=${SSLDIR-/etc/ssl}
-OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}
+OPENSSLCONFIG=${OPENSSLCONFIG-${SSLDIR}/dovecot-openssl.cnf}
 
-CERTFILE=$SSLDIR/certs/imapd.pem
-KEYFILE=$SSLDIR/private/imapd.pem
+CERTFILE=$SSLDIR/dovecotcert.pem
+KEYFILE=$SSLDIR/private/dovecot.pem
 
-if [ ! -d $SSLDIR/certs ]; then
-  echo "$SSLDIR/certs directory doesn't exist"
-fi
+#if [ ! -d $SSLDIR/certs ]; then
+#  echo "$SSLDIR/certs directory doesn't exist"
+#fi
 
 if [ ! -d $SSLDIR/private ]; then
   echo "$SSLDIR/private directory doesn't exist"
