Skip to content

Commit

Permalink
Merge pull request #1 from open-toast/provide-cert-chain
Browse files Browse the repository at this point in the history
Provide cert chain
  • Loading branch information
mattmoskwa authored Oct 3, 2024
2 parents de54040 + a9a2339 commit 0735978
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@ static class JsignJcaKeyStore extends AbstractKeyStoreSpi {
public JsignJcaKeyStore(KeyStoreType type, String keystore) {
builder.storetype(type);
builder.keystore(keystore);
builder.certfile("");
String certfile = System.getProperty("jsign.certfile");
if (certfile == null) {
builder.certfile("");
} else {
builder.certfile(certfile);
}
}

private KeyStore getKeyStore() throws KeyStoreException {
Expand Down

0 comments on commit 0735978

Please sign in to comment.