License Server Help

Connection to JetBrains Account fails with certificate exception

Issue:

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

Solution:

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. 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:
    • sh <license_server_home>/bin/license-server.sh java set <path to JRE home directory> for Linux and Mac OS X or
    • <license_server_home>\bin\license-server.bat java set <path to JRE home directory> for Windows.
    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, please use Oracle JDK or OpenJDK.
Last modified: 7 September 2018