Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Commit

Permalink
Release 2.4.2, Updating CertificateHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
jrichard committed Sep 12, 2017
1 parent 8457435 commit e1c8068
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<artifactId>hub-common-rest</artifactId>
<version>2.4.2-SNAPSHOT</version>
<version>2.4.2</version>

<name>Hub Common Rest</name>
<description>General Code for Rest Connections to the Hub</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public boolean isCertificateInTrustStore(final URL url) throws IntegrationExcept
}
}

private KeyStore getKeyStore(final File trustStore) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {
public KeyStore getKeyStore(final File trustStore) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {
// trustStore must be an existing file and it must not be empty,
// otherwise we create a new empty keystore
if (trustStore.isFile() && trustStore.length() > 0) {
Expand All @@ -246,7 +246,7 @@ private char[] getKeyStorePassword() {
return System.getProperty("javax.net.ssl.trustStorePassword", "changeit").toCharArray();
}

private File getTrustStore() {
public File getTrustStore() {
File trustStore;
if (javaHomeOverride != null) {
trustStore = resolveTrustStoreFile(javaHomeOverride);
Expand Down

0 comments on commit e1c8068

Please sign in to comment.