Setting the right truststore in JBoss 7

后端 未结 1 358
孤城傲影
孤城傲影 2021-01-07 08:43

I want to send EMails from a JBoss 7 application. The SMTP server needs a TLS connection with a self signed certificate. If I try to send a EMail I get a SSLHandshakeExcepti

相关标签:
1条回答
  • 2021-01-07 09:42

    Someone asked on the JBoss forum "javax.net.ssl.trustStore - only way to specify client trust?", and the answer is basically "yes".

    Their approach was to set that in a system-properties element in the server config XML, which seems like the best way to me too. Better than grubbing about in the run configuration files!

    0 讨论(0)
提交回复
热议问题