Cannot upload to Structurizr API using Java 11: SSLHandshakeException: Received fatal alert: handshake_failure

This repository was archived by the owner on Mar 28, 2026. It is now read-only.

This repository was archived by the owner on Mar 28, 2026. It is now read-only.

@gdubya

Description

This isn't a problem with Structurizer, per se, but calls to the Structurizer API fail when using Java 11 due to missing (?) certs in the OpenJDK distribution (discussed more here: https://www.reddit.com/r/java/comments/8y2hpj/openjdk_missing_certificates/e29lg4s).

This could be resolved by changing the certs used by api.structurizr.com, or by adding the certs to one's own JDK.

Tested using OpenJDK Java 11.0.1

Workaround: Downgrade Java to 1.8, then the examples work fine 👍