Loading

"SSL handshake error: No available authentication scheme" After Restarting CloudHub 1.0 Application

Publiceringsdatum: Oct 20, 2026
Lösning

SYMPTOM

After restarting a CloudHub 1.0 application, the following error is observed when calling the API:
[2022-08-31 08:20:25.073] ERROR   org.mule.module.http.internal.listener.grizzly.MuleSslFilter [[sample-api-prod].api-httpsInternalListenerConfig.worker.09]: SSL handshake error: No available authentication scheme

CAUSE

In the August 2, 2022 release of CloudHub Runtime, JDK8 patch level was upgraded to OpenJDK v1.8.0_332:
https://docs.mulesoft.com/release-notes/cloudhub/cloudhub-runtimes-release-notes#august-2-2022

As a result, TLSv1.3 is supported now. If the calling client also supports TLSv1.3, the TLS handshake will happen with TLSv1.3 instead of previously TLSv1.2. Should your certificate be using the DSA algorithm, which has been deprecated a while ago in favor of RSA and is not supported at all in TLSv1.3, you will get the "SSL handshake error: No available authentication scheme".

You can use the following command to verify the algorithm being used by the certificate:
openssl x509 -in certificate.crt -text
Certificate:
    ...
    Signature Algorithm: dsa_with_SHA256
        ...
        Subject Public Key Info:
            Public Key Algorithm: dsaEncryption
keytool -printcert -file $file or keytool -list -keystore $ksfile [-alias $name] -v also displays this information. The former works on both .pem and .der certificate files, while openssl needs -inform der or abbreviated -inform d to work on .der files.

SOLUTION

Create and use RSA certificates instead.

For Java keytool commands, refer to the section "Java Keytool Commands for Creating and Importing" in the following link:
https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
Knowledge-artikelnummer

001121821

 
Laddar
Salesforce Help | Article