Hi,
I have some problems to send email from keycloak. In the online form
I set these value. The ip address I have set is the ip of a kubernetes service that expose port 443 and has the port 25 as target. The target kubernetes pod has a postfix configuration that is working fine. When I set starttls on, on the ui, I received:
javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I have added certificates to keystore with keytool -import -alias smtpApplication.telecomitalia.local -trustcacerts -cacerts -storepass changeit -file CA_Root.cer -noprompt , is this the correct path?
Otherwise if i set enable starttls on off I will receive:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 454 4.7.1 noreply-koreos@olivetti.com: Relay access denied
Someone has some suggestion on how to solve, how to correctly configure keycloak?