View previous topic :: View next topic |
Author |
Message |
_easyrider_ Apprentice
Joined: 02 May 2003 Posts: 238 Location: Denmark
|
Posted: Thu May 08, 2003 2:26 pm Post subject: Problem With Certificate And Setting Up Mail Server. |
|
|
I Just finished step 6.1 in the guide from gentoo to sep up an mail server. When i then try to telnet localhost 25 i just get.:
Code: |
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 server ESMTP Postfix
EHLO blabla.dk
250-server
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-XVERP
250 8BITMIME
|
I then take a look in my log file /var/log/mail/current
Code: |
May 8 16:20:44 [postfix/smtpd] starting TLS engine
May 8 16:20:44 [postfix/smtpd] unable to get certificate from '/etc/postfix/newcert.pem'
May 8 16:20:44 [postfix/smtpd] 16432:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:666:Expecting: CERTIFICATE:
May 8 16:20:44 [postfix/smtpd] 16432:error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:missing asn1 eos:ssl_rsa.c:765:
May 8 16:20:44 [postfix/smtpd] TLS engine: cannot load RSA cert/key data
May 8 16:20:44 [postfix/smtpd] connect from localhost[127.0.0.1]
May 8 16:21:03 [postfix/smtpd] lost connection after EHLO from localhost[127.0.0.1]
May 8 16:21:03 [postfix/smtpd] disconnect from localhost[127.0.0.1]
|
Seem to bee a problem with my certs, but i can't see what. Anybody that can help?. |
|
Back to top |
|
|
Xor Tux's lil' helper
Joined: 07 Jul 2002 Posts: 144
|
Posted: Thu May 08, 2003 7:57 pm Post subject: |
|
|
take a look at this pem file.... is there a CERTIFICATE in there? if so, you probably messed up in requesting/signing it... |
|
Back to top |
|
|
_easyrider_ Apprentice
Joined: 02 May 2003 Posts: 238 Location: Denmark
|
Posted: Thu May 08, 2003 9:01 pm Post subject: |
|
|
I just followed the guide on how to create the certificates. I just tried something else, in the main.cf file for postfix i tried to mask all the optionns conserning tls and after that, when i try to telnet it allmost works, now i get
Code: |
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 server.blabla.dk ESMTP Postfix
EHLO blabla.dk
250-server.blabla.dk
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5
250-AUTH=LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5
250-XVERP
250 8BITMIME
|
So i guess the problem must be something with the certificates. |
|
Back to top |
|
|
|