java.security.cert.CertificateException: Non of the delegates checked the chain successfully

День добрый!

Пытаюсь настроить нотификацию по email в связке Hub + Upsource.

1) Добавил в Hub в "доверенные сертификаты" мои корневые сертификаты.

2) Добавил в Hub в "хранилище SSL-ключей" мой личный сертификат.

3) Настроил подключение к SMTP серверу: 

    - Протокол: SMTP+TLS

    - Указал свои имя и пароль

    - Выбрал запись из "Хранилища SSL ключей"

4) При отправке тестового письма в логах Hub вижу:

[2018-05-18 13:18:22,742] Caused by: java.security.cert.CertificateException: Non of the delegates checked the chain successfully
[2018-05-18 13:18:22,742] at jetbrains.jetpass.userManagement.persistence.ssl.CompositeTrustManager.checkServerTrusted(CompositeTrustManager.kt:24) ~[jetbrains.jetpass.userManagement-2018.1.9292.jar:?]
[2018-05-18 13:18:22,742] at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:985) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1596) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at sun.security.ssl.Handshaker.process_record(Handshaker.java:987) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:1.8.0_161]
[2018-05-18 13:18:22,742] at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:597) ~[javax.mail-1.5.4.jar:1.5.4]
[2018-05-18 13:18:22,742] at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:524) ~[javax.mail-1.5.4.jar:1.5.4]
[2018-05-18 13:18:22,742] at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1995) ~[javax.mail-1.5.4.jar:1.5.4]
[2018-05-18 13:18:22,742] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:709) ~[javax.mail-1.5.4.jar:1.5.4]
[2018-05-18 13:18:22,742] at javax.mail.Service.connect(Service.java:364) ~[javax.mail-1.5.4.jar:1.5.4]
[2018-05-18 13:18:22,742] at org.springframework.mail.javamail.JavaMailSenderImpl.connectTransport(JavaMailSenderImpl.java:501) ~[spring-context-support-4.3.10.RELEASE.jar:4.3.10.RELEASE]
[2018-05-18 13:18:22,742] at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:421) ~[spring-context-support-4.3.10.RELEASE.jar:4.3.10.RELEASE]
[2018-05-18 13:18:22,843] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:345) ~[spring-context-support-4.3.10.RELEASE.jar:4.3.10.RELEASE]
[2018-05-18 13:18:22,843] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340) ~[spring-context-support-4.3.10.RELEASE.jar:4.3.10.RELEASE]
[2018-05-18 13:18:22,843] at jetbrains.jetpass.notification.EmailNotificatorImpl.send(EmailNotificator.kt:65) ~[jetbrains.jetpass.notification-2018.1.9292.jar:?]
[2018-05-18 13:18:22,843] at jetbrains.jetpass.notification.NotificationService.sendEmail(NotificationService.kt:101) ~[jetbrains.jetpass.notification-2018.1.9292.jar:?]
[2018-05-18 13:18:22,844] at jetbrains.jetpass.notification.NotificationService.testEmail(NotificationService.kt:79) ~[jetbrains.jetpass.notification-2018.1.9292.jar:?]
[2018-05-18 13:18:22,844] at jetbrains.jetpass.userManagement.persistence.dnq.XdSMTPSettings.test(XdSMTPSettings.kt:46) ~[jetbrains.jetpass.userManagement-2018.1.9292.jar:?]
[2018-05-18 13:18:22,844] at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO$testEmail$1.invoke(JetPassSettingsDAO.kt:131) ~[jetbrains.jetpass.dao.dnq-2018.1.9292.jar:?]
[2018-05-18 13:18:22,844] at jetbrains.jetpass.dao.dnq.api.settings.JetPassSettingsDAO$testEmail$1.invoke(JetPassSettingsDAO.kt:38) ~[jetbrains.jetpass.dao.dnq-2018.1.9292.jar:?]
[2018-05-18 13:18:22,844] at com.jetbrains.teamsys.dnq.database.TransientEntityStoreExt.transactional(TransientEntityStoreExt.kt:51) ~[dnq-transient-store-1.1.343.jar:?]
[2018-05-18 13:18:22,844] at com.jetbrains.teamsys.dnq.database.TransientEntityStoreImpl.transactional(TransientEntityStoreImpl.kt:95) ~[dnq-transient-store-1.1.343.jar:?]
[2018-05-18 13:18:22,844] at jetbrains.jetpass.dnq.TransactionKt.legacyTransactional(Transaction.kt:20) ~[jetbrains.jetpass.userManagement-2018.1.9292.jar:?]
[2018-05-18 13:18:22,844] at jetbrains.jetpass.dnq.TransactionKt.legacyTransactional$default(Transaction.kt:14) ~[jetbrains.jetpass.userManagement-2018.1.9292.jar:?]
[2018-05-18 13:18:22,844] at jetbrains.jetpass.dao.dnq.api.DataAccessExceptionUtilKt.daoTransaction(DataAccessExceptionUtil.kt:31) ~[jetbrains.jetpass.dao.dnq-2018.1.9292.jar:?]

 

Что может означать эта ошибка?

1 comment
Comment actions Permalink

Здравствуйте, мы приносим свои искренние извинения за то, что пропустили ваш вопрос. Скажите, пожалуйста, он еще актуален для вас? Напишите, если вам все еще нужна наша помощь.

Если у вас есть срочные вопросы, пожалуйста, создайте саппорт-реквест: https://hub-support.jetbrains.com/hc/en-us/requests/new?ticket_form_id=66692

0

Please sign in to leave a comment.