Commit 00c3aabe authored by Tobias Assmann's avatar Tobias Assmann
Browse files

add setUpClient when creating TlsConnectionHandler to prevent NullPointer

parent 79286308
......@@ -75,6 +75,7 @@ public class SsaHttpClient implements SsaClient, Closeable {
signUri = urlBuilder.addPathSegment("sign").build();
tlsHandler = new TlsConnectionHandler(baseUri);
} catch (MalformedURLException | URISyntaxException ex) {
throw new IllegalArgumentException("Invalid SSA URL configured or specified.", ex);
# set to true when using prod
# validate-server-cert = false
validate-server-cert = true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment