Страница 1 из 1

qmail+smtp(s)+pop3(s) over stunneling

Добавлено: 2008-05-30 11:13:27
Olega999
Добрый день, всем!
У меня такая проблема:
Я хочу установил сервер qmail+auth smtp+pop3 (checkpassword) через программу stunelling.
проверяю подключение

Код: Выделить всё

openssl s_client -connect best.mail.tj:465 -state

CONNECTED(00000003)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
820:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_lib.c:188:
При проверке pop3 всё работает корректно.

Как решить данную проблему???

Re: qmail+smtp(s)+pop3(s) over stunneling

Добавлено: 2008-05-30 13:22:38
Olega999
Сейчас выходит такая ошибка:

best# openssl s_client -connect best.mail.tj:465 -state
CONNECTED(00000003)
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
depth=0 /C=TJ/ST=Dushanbe/L=Home/O=Home/OU=ef/CN=best.mail.tj
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=TJ/ST=Dushanbe/L=Home/O=Home/OU=ef/CN=best.mail.tj
verify return:1
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data
SSL_connect:SSLv3 read finished A
---
Certificate chain
0 s:/C=TJ/ST=Dushanbe/L=Home/O=Home/OU=ef/CN=best.mail.tj
i:/C=TJ/ST=Dushanbe/L=Home/O=Home/OU=ef/CN=best.mail.tj
---
Server certificate
-----BEGIN CERTIFICATE-----
MIICVzCCAcCgAwIBAgIJALstzup631pFMA0GCSqGSIb3DQEBBQUAMGIxCzAJBgNV
BAYTAlRKMREwDwYDVQQIEwhEdXNoYW5iZTENMAsGA1UEBxMESG9tZTENMAsGA1UE
ChMESG9tZTELMAkGA1UECxMCZWYxFTATBgNVBAMTDGJlc3QubWFpbC50ajAeFw0w
ODA1MjkyMjQxMzRaFw0wOTA1MjkyMjQxMzRaMGIxCzAJBgNVBAYTAlRKMREwDwYD
VQQIEwhEdXNoYW5iZTENMAsGA1UEBxMESG9tZTENMAsGA1UEChMESG9tZTELMAkG
A1UECxMCZWYxFTATBgNVBAMTDGJlc3QubWFpbC50ajCBnzANBgkqhkiG9w0BAQEF
AAOBjQAwgYkCgYEA5c4cxzkz4fRWQ2MlN9Ut9/zD/Mek0RnCF46NNm/vjv1syVg6
sS+IW0V7Yix6c/VExJI1Do3t5Gu0v7xYHV6CDyWsFmnHjopO34tJZZ2uMBblsxep
oasFj8+sWcsGpMLOD2j0z9IdSyyxjqPSCwONpBfIMGG+dcBSpLv/e0FVOVsCAwEA
AaMVMBMwEQYJYIZIAYb4QgEBBAQDAgZAMA0GCSqGSIb3DQEBBQUAA4GBAJnXc07J
+8bNooG1O3yw0ERutch0nSvg/bLwAj1U8pVBDH7xZt2Cnz6PdRM3psTj1Nufjtu8
rMvM9/a+4X01hU7AzAK4uI7vbYcsvKCu376u1nTF5mPORfvBrrwk8+u4dIdKrpfp
8vHjNCcvRgrTaRxkXTualq/GC4bb/ifsDqbQ
-----END CERTIFICATE-----
subject=/C=TJ/ST=Dushanbe/L=Home/O=Home/OU=ef/CN=best.mail.tj
issuer=/C=TJ/ST=Dushanbe/L=Home/O=Home/OU=ef/CN=best.mail.tj
---
No client certificate CA names sent
---
SSL handshake has read 765 bytes and written 334 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 1024 bit
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : AES256-SHA
Session-ID: A08C44F317482044EF15EF4090CCF6CBA7DF9CC8E6E83C766FF225CD76FEC41F
Session-ID-ctx:
Master-Key: BAFCED04BA7466CC2B841DC33D9A4A6ED8F738C8A87A9A49C4B762F926CE1DEDF6F34BE54B7FD639645C8FBCEB0371CF
Key-Arg : None
Start Time: 1212141136
Timeout : 300 (sec)
Verify return code: 18 (self signed certificate)
---
SSL3 alert read:warning:close notify
closed
SSL3 alert write:warning:close notify
best#
В чем может быть проблема???

Re: qmail+smtp(s)+pop3(s) over stunneling

Добавлено: 2008-05-30 13:38:48
manefesto
http://www.cyberciti.biz/tips/debugging ... rompt.html
Чо то неладное с ключами

Re: qmail+smtp(s)+pop3(s) over stunneling

Добавлено: 2008-05-30 14:21:31
Olega999
А почему с POP3 проходит без ошибок?