diff --git a/core/java/src/net/i2p/crypto/SU3File.java b/core/java/src/net/i2p/crypto/SU3File.java index c186fc23731a4430f23ba8d2e79820d8418d2293..65b2ee542d056bea797c330e2e98f003f270b29b 100644 --- a/core/java/src/net/i2p/crypto/SU3File.java +++ b/core/java/src/net/i2p/crypto/SU3File.java @@ -324,7 +324,7 @@ public class SU3File { try { _signerPubkey = ring.getKey(_signer, _contentType.getName(), _sigType); } catch (GeneralSecurityException gse) { - IOException ioe = new IOException("keystore error"); + IOException ioe = new IOException("Certificate error for " + _signer + ": " + gse); ioe.initCause(gse); throw ioe; } @@ -338,7 +338,7 @@ public class SU3File { try { _signerPubkey = ring.getKey(_signer, _contentType.getName(), _sigType); } catch (GeneralSecurityException gse) { - IOException ioe = new IOException("keystore error"); + IOException ioe = new IOException("Certificate error for " + _signer + ": " + gse); ioe.initCause(gse); throw ioe; }