diff --git a/as2-lib/src/test/java/com/helger/as2lib/crypto/BCCryptoHelperTest.java b/as2-lib/src/test/java/com/helger/as2lib/crypto/BCCryptoHelperTest.java index e828f7b9..2dba3de2 100644 --- a/as2-lib/src/test/java/com/helger/as2lib/crypto/BCCryptoHelperTest.java +++ b/as2-lib/src/test/java/com/helger/as2lib/crypto/BCCryptoHelperTest.java @@ -70,7 +70,8 @@ public final class BCCryptoHelperTest { private static final String PATH = "src/test/resources/external/mendelson/key3.pfx"; - private static final KeyStore KS = KeyStoreHelper.loadKeyStore (EKeyStoreType.PKCS12, PATH, "test").getKeyStore (); + private static final KeyStore KS = KeyStoreHelper.loadKeyStore (EKeyStoreType.PKCS12, PATH, "test".toCharArray ()) + .getKeyStore (); private static final PrivateKeyEntry PKE = KeyStoreHelper.loadPrivateKey (KS, PATH, "key3", "test".toCharArray ()) .getKeyEntry (); private static final Logger LOGGER = LoggerFactory.getLogger (BCCryptoHelperTest.class);