Статус: Активный участник
Группы: Участники
Зарегистрирован: 25.12.2014(UTC) Сообщений: 76
Сказал(а) «Спасибо»: 3 раз
|
Вопрос, наверное, ламерский, но что-то ничего не нашел. Установлен CryptoPro JCP. Работает нормально с https там, где есть шифрование по ГОСТ-у. Теперь нужно подключиться к mail.ru, чтобы отправить почту. Делаю так: Код: Properties props = new Properties();
props.setProperty("mail.debug", "true");
props.setProperty("javax.net.ssl.debug", "all");
props.setProperty("mail.smtp.host", "smtp.mail.ru");
props.setProperty("mail.smtp.port", "465");
props.setProperty("mail.smtp.auth", "true");
props.setProperty("mail.smtp.connectiontimeout", "60000");
props.setProperty("mail.smtp.timeout", "60000");
props.setProperty("mail.transport.protocol", "smtps");
props.setProperty("mail.smtp.socketFactory.port", "465");
props.setProperty("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
props.setProperty("mail.smtp.socketFactory.fallback", "false");
props.setProperty("mail.smtp.ssl.enable", "true");
props.setProperty("mail.mime.charset", "UTF-8");
props.setProperty("java.security.debug", "all");
props.setProperty("logging.properties", "all");
javax.mail.Session sess = javax.mail.Session.getInstance(props, new Authenticator()
{
@Override
public PasswordAuthentication getPasswordAuthentication()
{
return new PasswordAuthentication("user", "pass");
}
});
try
{
MimeMessage message = new MimeMessage(sess);
message.setSubject("test");
message.setText("test");
message.setRecipients(Message.RecipientType.TO, "auglov@naumen.ru");
message.setSender(new InternetAddress("naumen.customs@mail.ru"));
Transport.send(message);
}
catch (Throwable e)
{
e.printStackTrace(System.err);
}
Получаю вот такой лог:
DEBUG: JavaMail version 1.4.2 DEBUG: successfully loaded resource: /META-INF/javamail.default.providers DEBUG: Tables of loaded providers DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] DEBUG SMTP: useEhlo true, useAuth true DEBUG SMTP: useEhlo true, useAuth true DEBUG SMTP: trying to connect to host "smtp.mail.ru", port 465, isSSL true янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.A run FINE: Applet launched: false янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.A run FINE: Applet launched: false янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: keyStore is : янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: keyStore is : янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: keyStore type is : HDImageStore янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: keyStore type is : HDImageStore янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: keyStore provider is : янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: keyStore provider is : янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init key store янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init key store янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: defaultStoreProvider = янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: defaultStoreProvider = янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: янв 20, 2015 4:41:00 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: янв 20, 2015 4:41:00 PM ru.CryptoPro.JCSP.JCSP <init> INFO: Loading JCSP 4.0 37886 янв 20, 2015 4:41:00 PM ru.CryptoPro.JCSP.KeyStore.KeyStoreConfig enumInstalledProviders WARNING: No provider with type of 80 found. янв 20, 2015 4:41:00 PM ru.CryptoPro.JCSP.KeyStore.KeyStoreConfig enumInstalledProviders WARNING: No provider with type of 81 found. янв 20, 2015 4:41:00 PM ru.CryptoPro.JCSP.JCSP <init> INFO: JCSP loaded. янв 20, 2015 4:41:01 PM ru.CryptoPro.JCP.tools.Starter check INFO: Loading JCP 2.0 37886 янв 20, 2015 4:41:01 PM ru.CryptoPro.JCP.tools.Starter check INFO: JCP loaded. янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init key manager of type GostX509 янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init key manager of type GostX509 янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.r <init> FINE: %% adding as private keys %% янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.r <init> FINE: %% adding as private keys %% янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.r <init> FINE: found key: le-9b92be7d-b996-4321-a333-bce815529064 янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.r <init> FINE: found key: le-9b92be7d-b996-4321-a333-bce815529064 янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.r <init> FINE:
Certificate chain [0] for key:le-9b92be7d-b996-4321-a333-bce815529064 Subject: CN=Alias, O=CryptoPro, C=RU Valid from Wed Dec 24 15:56:00 PKT 2014 until Tue Mar 24 16:06:00 PKT 2015 Certificate chain [1] for key:le-9b92be7d-b996-4321-a333-bce815529064 Subject: CN=CRYPTO-PRO Test Center 2, O=CRYPTO-PRO LLC, L=Moscow, C=RU, EMAILADDRESS=support@cryptopro.ru Valid from Tue Aug 05 18:44:24 PKT 2014 until Mon Aug 05 18:54:03 PKT 2019
янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.r <init> FINE:
Certificate chain [0] for key:le-9b92be7d-b996-4321-a333-bce815529064 Subject: CN=Alias, O=CryptoPro, C=RU Valid from Wed Dec 24 15:56:00 PKT 2014 until Tue Mar 24 16:06:00 PKT 2015 Certificate chain [1] for key:le-9b92be7d-b996-4321-a333-bce815529064 Subject: CN=CRYPTO-PRO Test Center 2, O=CRYPTO-PRO LLC, L=Moscow, C=RU, EMAILADDRESS=support@cryptopro.ru Valid from Tue Aug 05 18:44:24 PKT 2014 until Mon Aug 05 18:54:03 PKT 2019
янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: trustStore is: C:\crypto_store янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: trustStore is: C:\crypto_store янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: trustStore type is : HDImageStore янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: trustStore type is : HDImageStore янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: trustStore provider is : янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: trustStore provider is : янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init trust store янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init trust store янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init trust manager of type GostX509 янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init trust manager of type GostX509 янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.g <init> FINE: Trusted certificates: key store. янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.g <init> FINE: Trusted certificates: key store. янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.g a FINE: %% adding as trusted certificates %% ....................
Subject: CN=*.mail.ru, OU=IT, O=LLC Mail.ru, L=Moscow, ST=RUSSIAN FEDERATION, C=RU Serial number: 4feceb5a8b7dee7e80b4aeadbee73b95 Valid from Thu Sep 18 05:00:00 PKT 2014 until Sat Sep 19 04:59:59 PKT 2015
.................... янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.g a FINE: %% adding as trusted certificates %% ....................
Subject: CN=*.mail.ru, OU=IT, O=LLC Mail.ru, L=Moscow, ST=RUSSIAN FEDERATION, C=RU Serial number: 4feceb5a8b7dee7e80b4aeadbee73b95 Valid from Thu Sep 18 05:00:00 PKT 2014 until Sat Sep 19 04:59:59 PKT 2015
.................... янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init context... янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: init context... янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl engineInit FINE: SSLContext engineInit янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl engineInit FINE: SSLContext engineInit янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl engineInit FINER: trigger seeding of SecureRandom янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl engineInit FINER: trigger seeding of SecureRandom янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl engineInit FINER: done seeding SecureRandom янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl engineInit FINER: done seeding SecureRandom янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: Context initiated. янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.SSLContextImpl d INFO: Context initiated. янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.y <init> FINER: Created: [Session-1, Unknown 0x0:0x0] янв 20, 2015 4:41:01 PM ru.CryptoPro.ssl.y <init> FINER: Created: [Session-1, Unknown 0x0:0x0] янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.f a FINE: Allow unsafe renegotiation: false Allow legacy hello messages: true Is initial handshake: true Is secure renegotiation: false янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.f a FINE: Allow unsafe renegotiation: false Allow legacy hello messages: true Is initial handshake: true Is secure renegotiation: false янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an setSoTimeout FINER: main, setSoTimeout(60000) called янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an setSoTimeout FINER: main, setSoTimeout(60000) called янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.aa read FINER: begin reading data: r.available() = 0 янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.aa read FINER: begin reading data: r.available() = 0 янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.ao r FINE: %% No cached client session янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.ao r FINE: %% No cached client session янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.f q FINE: %% ClientHello, TLSv1; Cipher Suites: [TLS_CIPHER_2012, TLS_CIPHER_2001, SSL3_CK_GVO_KB2]; Compression Methods: 0; Extensions: Extension ext_hash_and_mac_alg_select, ext_hash_and_mac_alg_select: [48, 32, 48, 30, 48, 8, 6, 6, 42, -123, 3, 2, 2, 9, 48, 8, 6, 6, 42, -123, 3, 2, 2, 22, 48, 8, 6, 6, 42, -123, 3, 2, 2, 23], Extension renegotiation_info, renegotiated_connection: <empty>; янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.f q FINE: %% ClientHello, TLSv1; Cipher Suites: [TLS_CIPHER_2012, TLS_CIPHER_2001, SSL3_CK_GVO_KB2]; Compression Methods: 0; Extensions: Extension ext_hash_and_mac_alg_select, ext_hash_and_mac_alg_select: [48, 32, 48, 30, 48, 8, 6, 6, 42, -123, 3, 2, 2, 9, 48, 8, 6, 6, 42, -123, 3, 2, 2, 22, 48, 8, 6, 6, 42, -123, 3, 2, 2, 23], Extension renegotiation_info, renegotiated_connection: <empty>; янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an b FINER: --WRITE-- янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an b FINER: --WRITE-- янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.D a ALL: [Raw write]: length = 99 0000: 16 03 01 00 5E 01 00 00 5A 03 01 54 BE 3E CE DF ....^...Z..T.>.. 0010: 21 37 FB 27 8D 9C 2A E1 89 CA 02 95 58 0C 58 36 !7.'..*.....X.X6 0020: 79 34 59 CA 87 2E 37 A1 9E 7D 9B 00 00 06 FF 85 y4Y...7......... 0030: 00 81 00 32 01 00 00 2B FD E8 00 22 30 20 30 1E ...2...+..."0 0. 0040: 30 08 06 06 2A 85 03 02 02 09 30 08 06 06 2A 85 0...*.....0...*. 0050: 03 02 02 16 30 08 06 06 2A 85 03 02 02 17 FF 01 ....0...*....... 0060: 00 01 00 ...
янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.D a ALL: [Raw write]: length = 99 0000: 16 03 01 00 5E 01 00 00 5A 03 01 54 BE 3E CE DF ....^...Z..T.>.. 0010: 21 37 FB 27 8D 9C 2A E1 89 CA 02 95 58 0C 58 36 !7.'..*.....X.X6 0020: 79 34 59 CA 87 2E 37 A1 9E 7D 9B 00 00 06 FF 85 y4Y...7......... 0030: 00 81 00 32 01 00 00 2B FD E8 00 22 30 20 30 1E ...2...+..."0 0. 0040: 30 08 06 06 2A 85 03 02 02 09 30 08 06 06 2A 85 0...*.....0...*. 0050: 03 02 02 16 30 08 06 06 2A 85 03 02 02 17 FF 01 ....0...*....... 0060: 00 01 00 ...
янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an a FINER: Reading and processing packages... янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an a FINER: Reading and processing packages... янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an a FINER: --READ-- янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an a FINER: --READ-- янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.v a ALL: [Raw read]: length = 5 0000: 15 03 01 00 02 .....
янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.v a ALL: [Raw read]: length = 5 0000: 15 03 01 00 02 .....
янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.v a ALL: [Raw read]: length = 2 0000: 02 28 .(
янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.v a ALL: [Raw read]: length = 2 0000: 02 28 .(
янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an b FINE: main, RECV TLSv1 ALERT: fatal, description = HANDSHAKE_FAILURE янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an b FINE: main, RECV TLSv1 ALERT: fatal, description = HANDSHAKE_FAILURE янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an k FINER: main, called closeSocket() янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an k FINER: main, called closeSocket() янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an a FINER: main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: HANDSHAKE_FAILURE янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an a FINER: main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: HANDSHAKE_FAILURE янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an a FINE: THROW javax.net.ssl.SSLHandshakeException: Received fatal alert: HANDSHAKE_FAILURE at ru.CryptoPro.ssl.B.a(Unknown Source) at ru.CryptoPro.ssl.B.a(Unknown Source) at ru.CryptoPro.ssl.an.b(Unknown Source) at ru.CryptoPro.ssl.an.a(Unknown Source) at ru.CryptoPro.ssl.an.i(Unknown Source) at ru.CryptoPro.ssl.an.a(Unknown Source) at ru.CryptoPro.ssl.aa.read(Unknown Source) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:106) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:84) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1742) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1523) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453) at javax.mail.Service.connect(Service.java:313) at javax.mail.Service.connect(Service.java:172) at javax.mail.Service.connect(Service.java:121) at javax.mail.Transport.send0(Transport.java:190) at javax.mail.Transport.send(Transport.java:120) at TestSnils.testMail(TestSnils.java:256) at TestSnils.main(TestSnils.java:216)
янв 20, 2015 4:41:02 PM ru.CryptoPro.ssl.an a FINE: THROW javax.net.ssl.SSLHandshakeException: Received fatal alert: HANDSHAKE_FAILURE at ru.CryptoPro.ssl.B.a(Unknown Source) at ru.CryptoPro.ssl.B.a(Unknown Source) at ru.CryptoPro.ssl.an.b(Unknown Source) at ru.CryptoPro.ssl.an.a(Unknown Source) at ru.CryptoPro.ssl.an.i(Unknown Source) at ru.CryptoPro.ssl.an.a(Unknown Source) at ru.CryptoPro.ssl.aa.read(Unknown Source) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:106) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:84) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1742) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1523) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453) at javax.mail.Service.connect(Service.java:313) at javax.mail.Service.connect(Service.java:172) at javax.mail.Service.connect(Service.java:121) at javax.mail.Transport.send0(Transport.java:190) at javax.mail.Transport.send(Transport.java:120) at TestSnils.testMail(TestSnils.java:256) at TestSnils.main(TestSnils.java:216)
javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLHandshakeException: Received fatal alert: HANDSHAKE_FAILURE at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1764) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1523) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453) at javax.mail.Service.connect(Service.java:313) at javax.mail.Service.connect(Service.java:172) at javax.mail.Service.connect(Service.java:121) at javax.mail.Transport.send0(Transport.java:190) at javax.mail.Transport.send(Transport.java:120) at TestSnils.testMail(TestSnils.java:256) at TestSnils.main(TestSnils.java:216) Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: HANDSHAKE_FAILURE at ru.CryptoPro.ssl.B.a(Unknown Source) at ru.CryptoPro.ssl.B.a(Unknown Source) at ru.CryptoPro.ssl.an.b(Unknown Source) at ru.CryptoPro.ssl.an.a(Unknown Source) at ru.CryptoPro.ssl.an.i(Unknown Source) at ru.CryptoPro.ssl.an.a(Unknown Source) at ru.CryptoPro.ssl.aa.read(Unknown Source) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:106) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:84) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1742) ... 9 more DEBUG SMTP: exception reading response: javax.net.ssl.SSLHandshakeException: Received fatal alert: HANDSHAKE_FAILURE
Что не так и как можно выключить КриптоПро в этом случае и вернуть родные для Java криптопровайдеры? Раньше, как-будто, все работало.
|