Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.6.1
-
None
-
using PKCS11 provider
Description
At Merlin.loadProperties, in order for the load method to be called, there must be a non null inputStream.
In case of physical keystore (like smart card), there is no keystore inputStream, the keystore is not loaded and later on we'll get an error when we try
to retrive a certificate from the keystore.
The solution is to allow not getting a keystore file and in this case just send a null inputStream to the load method (it works).
There is a workaround: creating a new class which extends Merlin and just override the loadProperties method (though it's not perfect cause we can't
set the loadCACerts property (it's private).
Attachments
Issue Links
- duplicates
-
WSS-302 Unable to load keystore/truststore when it cannot be loaded from an InputStream
- Closed