React Answers

How to fix Error message “error:0308010C:digital envelope routines::unsupported” with IntelliJ IDEA?

Spread the love

The error message “error:0308010C:digital envelope routines::unsupported” typically occurs in the context of SSL/TLS connections, particularly when OpenSSL is involved. This error often indicates a compatibility issue or a missing feature in the OpenSSL library.

Here are a few potential causes and solutions for this error:

Outdated OpenSSL version

Ensure that you’re using an up-to-date version of OpenSSL. Older versions may lack support for certain cryptographic algorithms or features.

Unsupported cryptographic algorithm

The error might occur if the client and server are trying to negotiate a cryptographic algorithm that is not supported by either party. Check the configuration of both the client and server to ensure they support compatible algorithms.

Incorrect configuration

Review the configuration of your SSL/TLS settings, including cipher suites, protocols, and key exchange algorithms. Make sure they are configured correctly and are compatible with each other.

Library compatibility

If you’re using OpenSSL as part of another library or framework (such as Node.js), ensure that it is compatible with the version of OpenSSL you’re using. In some cases, you may need to update or patch the library to work with your version of OpenSSL.


If you’re still having trouble pinpointing the cause of the error, enable debugging or verbose logging for the SSL/TLS component in question. This can provide more detailed information about the negotiation process and help identify the issue.

Check dependencies

If you’re encountering this error in a specific software project or application, check the dependencies to ensure they are correctly installed and up-to-date. Sometimes, outdated or incompatible dependencies can lead to cryptic errors like this one.

If you’re still unable to resolve the issue after trying these steps, consider providing more context or details about the specific scenario in which you’re encountering the error. This additional information can help diagnose the problem more effectively.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *