Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
new certificate for pop3 and smtp
View previous topic :: View next topic  
Author Message
simbad
Senior Member


Joined: 30 Jun 2011
Posts: 106

PostPosted: Thu Mar 22, 2012 2:47 pm    Post subject: new certificate for pop3 and smtp Reply with quote

Hi!

hoiw can i cerate new cert. for pop3, smtp and IMAP using my own domain?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Thu Mar 22, 2012 6:55 pm    Post subject: Reply with quote

Use this guide
http://www.openssl.org/docs/HOWTO/
and replace certs in

/etc/dovecot/dovecot.conf
/etc/postfix/main.cf

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Sat May 26, 2012 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat May 26, 2012 10:57 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional