Certificate error with Let's Encrypt

Answered

I made an IDEA plugin for my web service which sends a request to my website. The website uses HTTPS with a valid Let's Encrypt certificate. All browsers and Qualys's SSL Test accept the certificate, but IDEA says "Server's certificate is not trusted". Maybe IDEA does not have the necessary CA certificates to validate Let's Encrypt certificates? Is this being fixed in some future update?

I'm running:

IntelliJ IDEA 2016.1.2
Build #IC-145.972, built on May 14, 2016
JRE: 1.8.0_76-release-b162 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

on OS X 10.11.4

5 comments
Comment actions Permalink

Try installing the certificates into the JVM used to run IntelliJ IDEA with keytool.

1
Comment actions Permalink

Thanks Serge, that would be a solution for me but not for the users of the plugin. I cannot tell everyone to install certificates into their system. That's why I'm asking if a CA certificate update is coming which would enable LE certificates.

0
Comment actions Permalink

For reference, here is the error dialog I get:

The website is https://codestats.net/ so you can check that the certificate is valid.

0
Comment actions Permalink

Let's Encrypt does not support Java clients, sadly - it's not an IntelliJ issue.

0
Comment actions Permalink

Ah yes, I see that know. I will try using the code described here and bundle the appropriate CA cert with my plugin: http://stackoverflow.com/a/34111150

0

Please sign in to leave a comment.