[Dovecot] SSL certificate.

Pahlevanzadeh Mohsen
Mon, 09 Feb 2004 07:56:44 -0000

Hi.
I had generate a SSL cetificate.
I performed following actions:

  mkdir	/opt/LocalCA
	cd	/opt/LocalCA

	mkdir	  certs
	mkdir	  private
	chmod 700 private

	echo	'01' > serial
	touch	index.txt

	cd /opt/LocalCA

	PATH=/opt/openssl/bin:$PATH
	export PATH

	OPENSSL_CONF=/opt/LocalCA/LocalCA.cnf
	export OPENSSL_CONF

	openssl req -x509 -newkey rsa -out
cacert.pem -outform PEM -days 1825

Then made following files:
	/opt/LocalCA/cacert.pem		# CA public certificate
	/opt/LocalCA/private/cakey.pem	# CA private key

Then i performed 2 actions:
mv /opt/LocalCA/cacert.pem
/usr/share/ssl/certs/dovecot.pem
mv /opt/LocalCA/cakey.pem
/usr/shar/ssl/private/dovecot.pem
Now,I run service dovecot start
& i received following line:
Starting IMAP daemon (dovecot):
    [  OK  ]
But now i run service dovecot status
& i recieving following line:
dovecot dead but subsys locked




PLEASE GUIDE ME.........



====---------DIGITAL  SIGNATURE-------------------
///Mohsen Pahlevanzadeh////////
     Network administrator  & programmer
      My work phone is : +98216054096-7
      My home phone is: +98213810146
My emails is
          m_pahlevanzadeh at yahoo.com
My website is: http://webnegar.net
----------------------------------------------------------------

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.