You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating docker container to keyfactor/ejbca-ce:7.11.0 i am having troubles to send e-mails on STARTTLS enabled server. Here is part of logs:
2023-01-18 11:19:58,271+0300 ERROR [org.ejbca.util.mail.MailSender] (EJB default - 5) Unable to send email: : javax.mail.MessagingException: Could not connect to SMTP host: mail.dstu.local, port: 25;
nested exception is:
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
<skipped>
However, checking via openssl works:
pinkbyte@oas1 ~ $ openssl s_client -host mail.dstu.local -port 25 -starttls smtp
CONNECTED(00000003)
depth=1 C = RU, ST = Rostov Region, L = Rostov-on-Don, O = Don State Technical University, OU = CIT, CN = DSTU CA
verify return:1
depth=0 C = RU, ST = Rostov Region, L = Rostov-on-Don, O = Don State Technical University, OU = CIT, CN = mail.dstu.local
verify return:1
---
Certificate chain
0 s:C = RU, ST = Rostov Region, L = Rostov-on-Don, O = Don State Technical University, OU = CIT, CN = mail.dstu.local
i:C = RU, ST = Rostov Region, L = Rostov-on-Don, O = Don State Technical University, OU = CIT, CN = DSTU CA
1 s:C = RU, ST = Rostov Region, L = Rostov-on-Don, O = Don State Technical University, OU = CIT, CN = DSTU CA
i:C = RU, ST = Rostov Region, L = Rostov-on-Don, O = Don State Technical University, OU = CIT, CN = DSTU CA
---
<skipped>
Docker container started like this(sensetive data hidden):
As a workaround i switched to explicit SSL, available on that server(SMTP_DESTINATION_PORT to 465; SMTP_TLS_ENABLED=true to SMTP_SSL_ENABLED=true)
The text was updated successfully, but these errors were encountered:
Pinkbyte
changed the title
Failed to send e-mail using STARTTLS starting from 7.11 release
Failed to send e-mail using STARTTLS starting from 7.11.0 release
Jan 18, 2023
After updating docker container to keyfactor/ejbca-ce:7.11.0 i am having troubles to send e-mails on STARTTLS enabled server. Here is part of logs:
However, checking via openssl works:
Docker container started like this(sensetive data hidden):
Test telnet session to mail.dstu.local, port 25:
As a workaround i switched to explicit SSL, available on that server(SMTP_DESTINATION_PORT to 465; SMTP_TLS_ENABLED=true to SMTP_SSL_ENABLED=true)
The text was updated successfully, but these errors were encountered: