Connection to JetBrains Account fails with certificate exception
The error is thrown when Floating License Server is trying to contact JetBrains.
JetProfile connection error: java.security.cert.CertificateException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
There are several possible reasons of the issue and suggested solutions:
Proxy server between you and JetBrains Account that intercepts SSL traffic and substitutes our certificate with its own one, which is different and will not be accepted by the IDE. Proxy server may be completely transparent to you and may work without any explicit proxy configuration in your system. Contact your organization IT helpdesk or ISP support to get it resolved.
- If you are using Linux, your JDK may have incomplete keystore without Thawte CA, therefore, JDK can't verify SSL certs from our server. See this issue for details. You can install Oracle JDK 1.8 and configure license server to use this new JDK installation instead of the system JDK by running:
<fls_home>/bin/license-server.sh java set <path to JRE home directory>
<fls_home>\bin\license-server.bat java set <path to JRE home directory>
Make sure to install JDK manually from Oracle website. JDK installed by the package manager will use the same cacerts file that may be incomplete or even empty/corrupted.
IBM JDK will have issues connecting to account server, use Oracle JDK or OpenJDK.