#1  
Old 18th September 2009, 16:11
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 3 Times in 3 Posts
Default TLS Problem

Hi all

I've following in the log:

Code:
Sep 18 13:55:01 websrv1 postfix/smtpd[5418]: warning: TLS library problem: 5418:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
Sep 18 13:55:01 websrv1 postfix/smtpd[5418]: warning: TLS library problem: 5418:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403:
Sep 18 13:55:01 websrv1 postfix/smtpd[5418]: warning: TLS library problem: 5418:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:
Sep 18 14:00:02 websrv1 postfix/smtpd[5532]: warning: cannot get private key from file /etc/postfix/ssl/smtpd.key
Sep 18 14:00:02 websrv1 postfix/smtpd[5532]: warning: TLS library problem: 5532:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
Sep 18 14:00:02 websrv1 postfix/smtpd[5532]: warning: TLS library problem: 5532:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403:
Sep 18 14:00:02 websrv1 postfix/smtpd[5532]: warning: TLS library problem: 5532:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:
Sep 18 14:05:03 websrv1 postfix/smtpd[6675]: warning: cannot get private key from file /etc/postfix/ssl/smtpd.key
Sep 18 14:05:03 websrv1 postfix/smtpd[6675]: warning: TLS library problem: 6675:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
Sep 18 14:05:03 websrv1 postfix/smtpd[6675]: warning: TLS library problem: 6675:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403:
Sep 18 14:05:03 websrv1 postfix/smtpd[6675]: warning: TLS library problem: 6675:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:
May I do not know how to it solve.
Any ideas?

thanks
admins
Reply With Quote
Sponsored Links
  #2  
Old 19th September 2009, 10:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

To create a new ssl cert for postfix, run these commands:
Code:
cd /etc/postfix/ssl/
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
chmod 600 smtpd.key
openssl req -new -key smtpd.key -out smtpd.csr
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
openssl rsa -in smtpd.key -out smtpd.key.unencrypted
mv -f smtpd.key.unencrypted smtpd.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Webmail Relay Error palkat General 17 23rd April 2006 18:12
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


All times are GMT +2. The time now is 05:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.