View previous topic :: View next topic |
Author |
Message |
simbad Senior Member
Joined: 30 Jun 2011 Posts: 106
|
Posted: Thu Mar 22, 2012 2:47 pm Post subject: new certificate for pop3 and smtp |
|
|
Hi!
hoiw can i cerate new cert. for pop3, smtp and IMAP using my own domain? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
|
Back to top |
|
keopp Senior Member
Joined: 08 Nov 2008 Posts: 166 Location: Romania
|
Posted: Sat May 26, 2012 9:24 am Post subject: |
|
|
Hello,
I'm trying to configure Postfix and Dovecot to use SSL, SASL and TLS.
Up to now, things are going well except TLS.
I get the following message:
Quote: | warning: cannot get RSA private key from file /etc/ssl/certs/dovecot.pem: disabling TLS support |
I have replaced the certificates by using tutorials found but I get different certificates structure form the original ones.
I mean that original(SMS) certificate and key have 2 sections :
Quote: | -----BEGIN RSA PRIVATE KEY-----
MII...
qN/
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MII...yg==
-----END CERTIFICATE----- |
The certificate and key I generate have only one section:
certificate(-----BEGIN CERTIFICATE-----) respectively key(-----BEGIN RSA PRIVATE KEY-----).
I belive this is the reason for the error message above.
Please help and give me a hint on how to obtain certificate and key combined.
All the above refers to /etc/ssl/certs/dovecot.pem and /etc/ssl/private/dovecot.pem
Thank you very much.
PS: I use SMS64.Native.CD-1.6.5 |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat May 26, 2012 10:57 am Post subject: |
|
|
My bad...
It includes the passphrase..
just do
Code: | cd /etc/ssl/private
cp dovecot.pem dovecot.pem.old
openssl rsa -in dovecot.pem.old -out dovecot.pem |
or you can use your own key.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|