Connection to JetBrains Account fails with certificate exception
The error is thrown when 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 following possible reasons of the issue and proposed 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. Please 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. Please 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
<license server directory>/bin/license-server.sh java set <path to JRE home directory>for Linux and Mac OS X or
<license server directory>\bin\license-server.bat java set <path to JRE home directory>for Windows. Make sure to install 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, please use Oracle JDK or OpenJDK.