There is a Java unit test using MockServer.
For failed SSL handshake emulation I intend to use a certain certificate:
an instance of a class extending java.security.cert.Certificate
.
I tried to find something in the docs, but it only describes how to use the SSL context defined by MockServer, without mentioning options of custom SSL contexts.
How to make MockServer apply a user-defined certificate for SSL handshakes?