Re: [CentOS] tls not working with postfix in chroot mode on centos4.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

Sorry, don't means to be rude, but could you stop spamming the list? Have you try asking your problem at postfix mailling list? If someone on this list don't answer you, that means maybe someone don't know how to solve your problem or they ignore you..

BTW, i don't used postfix, i used qmailtoaster for my mailserver so, i totally don't have any ideal what you are talking about. Sorry.

Again, sorry for top posting, outlook suck!

Regards,
ijez

----- Original Message ----- 
From: ankush grover 
To: CentOS mailing list 
Sent: Thursday, May 25, 2006 09:47 PM
Subject: [CentOS] tls not working with postfix in chroot mode on centos4.0


hey friends,

 I am trying to make postfix run with tls in chroot mode, but I am not
able to send the messages with tls on. I am using postfix 2.2.10 on
centos 4.0 and  I had compiled the postfix from sources with tls & 
cyrus-sasl support. I copied the certificates from /usr/share/ssl to
/etc/postfix.

Below are the errors I am getting:

May 25 13:27:51 test1 postfix/smtpd[4095]: warning: TLS library problem: 4095
:error:0906406D:PEM routines:DEF_CALLBACK:problems getting password:pem_lib.c:10 
5:cyrus-sasl support. I copied the certificates from /usr/share/ssl to
/etc/postfix.

Below are the errors I am getting:

May 25 13:27:51 test1 postfix/smtpd[4095]: warning: TLS library problem: 4095
:error:0906406D:PEM routines:DEF_CALLBACK:problems getting password:pem_lib.c:10
5:
May 25 13:27:51 test1 postfix/smtpd[4095]: warning: TLS library problem: 4095
:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:399: 
May 25 13:27:51 test1 postfix/smtpd[4095]: warning: TLS library problem: 4095
:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:707:
May 25 13:27:51 test1 postfix/smtpd[4095]: cannot load RSA certificate and ke 
y data
May 25 13:27:51 test1 postfix/smtpd[4095]: connect from
test1.sun.net[192.168.1.125]
May 25 13:27:51 test1 postfix/smtpd[4095]: disconnect from
test1.sun.net[ 192.168.1.125]
May 25 13:29:37 test1 postfix/smtpd[4257]: warning: cannot get private key fr
om file /etc/postfix/newreq.pem
May 25 13:29:37 test1 postfix/smtpd[4257]: warning: TLS library problem: 4257
:error:0906406D:PEM routines:DEF_CALLBACK:problems getting password:pem_lib.c:10 
5:
May 25 13:29:37 test1 postfix/smtpd[4257]: warning: TLS library problem: 4257
:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:399:
May 25 13:29:37 test1 postfix/smtpd[4257]: warning: TLS library problem: 4257 

I telnet into the port 25 on localhost and tried to start tls but it
says "454 TLS not available due to local problem"

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 test1.sun.net ESMTP Postfix
EHLO test1.sun.net
250-test1.sun.net
250-PIPELINING
250-SIZE 51200000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME
starttls
454 TLS not available due to local problem
quit

I have also attached the result of postconf command with this mail in 
"postfix.txt" file.Both SELinux and firewall are off on this system.

Please let me know if you need any further inputs.

Thanks & Regards

Ankush Grover
May 25 13:27:51 test1 postfix/smtpd[4095]: warning: TLS library problem: 4095 
:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:399:
May 25 13:27:51 test1 postfix/smtpd[4095]: warning: TLS library problem: 4095
:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:707: 
May 25 13:27:51 test1 postfix/smtpd[4095]: cannot load RSA certificate and ke
y data
May 25 13:27:51 test1 postfix/smtpd[4095]: connect from
test1.sun.net[192.168.1.125]
May 25 13:27:51 test1 postfix/smtpd[4095]: disconnect from
test1.sun.net[192.168.1.125]
May 25 13:29:37 test1 postfix/smtpd[4257]: warning: cannot get private key fr
om file /etc/postfix/newreq.pem 
May 25 13:29:37 test1 postfix/smtpd[4257]: warning: TLS library problem: 4257
:error:0906406D:PEM routines:DEF_CALLBACK:problems getting password:pem_lib.c:10
5:
May 25 13:29:37 test1 postfix/smtpd[4257]: warning: TLS library problem: 4257 
:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:399:
May 25 13:29:37 test1 postfix/smtpd[4257]: warning: TLS library problem: 4257

I telnet into the port 25 on localhost and tried to start tls but it 
says "454 TLS not available due to local problem"

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'. 
220 test1.sun.net ESMTP Postfix
EHLO test1.sun.net
250-test1.sun.net
250-PIPELINING
250-SIZE 51200000 
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME
starttls
454 TLS not available due to local problem
quit

I have also attached the result of postconf command with this mail in
"postfix.txt" file.Both SELinux and firewall are off on this system.

Please let me know if you need any further inputs.

Thanks & Regards

Ankush Grover





_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 26/05/2006

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux