t***@txbweb.de
2016-07-31 13:13:30 UTC
Hello,
I have a mailserver with Debian/Postfix/Courier/MySQL/Spamassassin, and
I need to disable STARTTLS in Thunderbird to get access on my mailserver
again, but I dont have to disable it for smtp!
***@ubuntu14:~$ openssl s_client -starttls imap -connect
mail.txbweb.de:143
CONNECTED(00000003)
3074164412:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:s23_clnt.c:795:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 444 bytes and written 321 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL23_GET_SERVER_HELLO:unknown protocol ???
On port 25 I get information about my certificate (openssl s_client
-starttls smtp -connect mail.txbweb.de:25)
And when I enter
***@ubuntu14:~$ openssl s_client -starttls imap -connect
mail.txbweb.de:143 -tls1_2
CONNECTED(00000003)
3073910460:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version
number:s3_pkt.c:339:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 442 bytes and written 7 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1469968236
Timeout : 7200 (sec)
Verify return code: 0 (ok)
---
I get a wrong version number message.
I ve created the certificate for IMAP like this:
# cat /etc/ssl/private/mail.txbweb.de.key
/etc/ssl/certs/mail.txbweb.de.20160719.crt
/etc/ssl/certs/startcom_intermediate_sca.server1.crt >
/etc/courier/imapd_startcom_20160719.crt
nano /etc/courier/imapd-ssl
TLS_CERTFILE=/etc/courier/imapd_startcom_20160719.crt
TLS_TRUSTCERTS=/etc/ssl/certs
and DH Params like this
# DH_BITS=1024 or 2048 mkdhparams
nano /etc/courier/imapd-ssl
TLS_DHPARAMS=/etc/courier/dhparams.pem
I have no idea, why I get this error for IMAP. Can anybody give me a hint?
I have a mailserver with Debian/Postfix/Courier/MySQL/Spamassassin, and
I need to disable STARTTLS in Thunderbird to get access on my mailserver
again, but I dont have to disable it for smtp!
***@ubuntu14:~$ openssl s_client -starttls imap -connect
mail.txbweb.de:143
CONNECTED(00000003)
3074164412:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:s23_clnt.c:795:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 444 bytes and written 321 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL23_GET_SERVER_HELLO:unknown protocol ???
On port 25 I get information about my certificate (openssl s_client
-starttls smtp -connect mail.txbweb.de:25)
And when I enter
***@ubuntu14:~$ openssl s_client -starttls imap -connect
mail.txbweb.de:143 -tls1_2
CONNECTED(00000003)
3073910460:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version
number:s3_pkt.c:339:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 442 bytes and written 7 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1469968236
Timeout : 7200 (sec)
Verify return code: 0 (ok)
---
I get a wrong version number message.
I ve created the certificate for IMAP like this:
# cat /etc/ssl/private/mail.txbweb.de.key
/etc/ssl/certs/mail.txbweb.de.20160719.crt
/etc/ssl/certs/startcom_intermediate_sca.server1.crt >
/etc/courier/imapd_startcom_20160719.crt
nano /etc/courier/imapd-ssl
TLS_CERTFILE=/etc/courier/imapd_startcom_20160719.crt
TLS_TRUSTCERTS=/etc/ssl/certs
and DH Params like this
# DH_BITS=1024 or 2048 mkdhparams
nano /etc/courier/imapd-ssl
TLS_DHPARAMS=/etc/courier/dhparams.pem
I have no idea, why I get this error for IMAP. Can anybody give me a hint?