Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ecsec Public
reqesidta-prototype
client-signer
Commits
00c3aabe
Commit
00c3aabe
authored
Oct 29, 2019
by
Tobias Assmann
Browse files
add setUpClient when creating TlsConnectionHandler to prevent NullPointer
parent
79286308
Changes
2
Hide whitespace changes
Inline
Side-by-side
addons/reqesidta/src/main/java/org/openecard/addons/reqesidta/ssa/SsaHttpClient.java
View file @
00c3aabe
...
...
@@ -75,6 +75,7 @@ public class SsaHttpClient implements SsaClient, Closeable {
signUri
=
urlBuilder
.
addPathSegment
(
"sign"
).
build
();
tlsHandler
=
new
TlsConnectionHandler
(
baseUri
);
tlsHandler
.
setUpClient
();
}
catch
(
MalformedURLException
|
URISyntaxException
ex
)
{
throw
new
IllegalArgumentException
(
"Invalid SSA URL configured or specified."
,
ex
);
}
...
...
addons/reqesidta/src/main/resources/reqesidta/default.properties
View file @
00c3aabe
# set to true when using prod
# validate-server-cert = false
validate-server-cert
=
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment