OpenSSL Загрузка почты с pop.gmail.com
Всем привет.
Не могу понять в чем ошибка.
Я загружаю почту с pop.gmail.com:995 используя командную строку:
openssl s_client -connect pop.gmail.com:995
CONNECTED(00000003)
depth=1 /C=US/O=Google Inc/CN=Google Internet Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=pop.gmail.com
i:/C=US/O=Google Inc/CN=Google Internet Authority
1 s:/C=US/O=Google Inc/CN=Google Internet Authority
i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
---
Server certificate
-----BEGIN CERTIFICATE-----
SERTIFICATE SEQ
-----END CERTIFICATE-----
subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=pop.gmail.com
issuer=/C=US/O=Google Inc/CN=Google Internet Authority
---
No client certificate CA names sent
---
SSL handshake has read 1714 bytes and written 307 bytes
---
New, TLSv1/SSLv3, Cipher is RC4-SHA
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : RC4-SHA
Session-ID: 8A574C8AA1E756DC514E98DE08B3CC710DA30C7DAB7B3115EC8BE4624ABD5C96
Session-ID-ctx:
Master-Key: <master key>
Key-Arg : None
Start Time: 1314020316
Timeout : 300 (sec)
Verify return code: 20 (unable to get local issuer certificate)
---
+OK Gpop ready for requests from <ip> 5pf3296003fak.3
USER <username>@gmail.com
+OK send PASS
PASS ******
+OK Welcome.
STAT
+OK 1 758
LIST
+OK 1 messages (758 bytes)
1 758
.
RETR 1
RENEGOTIATING
depth=1 /C=US/O=Google Inc/CN=Google Internet Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
QUIT
Как видите на команду RETR 1 сервер отвечает ошибкой unable to get local issuer certificate.
В чем проблема? Подскажите плиз как исправить?
Спасибо!