Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Warning

We do not recommend mixing dynamic and static configuration (i.e., using --pkcs11Config with a modified java.security file, as this can cause two copies of the provider to be loaded. This may result in hard to debug errors, such as "Private keys must be instance of RSAPrivate(Crt)Key or have PKCS#8 encoding" or "No installed provider supports this key".

Using xmlsectool with Dynamic PKCS#11 Configuration

...

... you will now receive the following warning message:

Code Block
WARN  DEPRECATED CredentialHelper- command-line Theoption '--keystoreProvider option is ', (now ignored when used with --pkcs11Config; remove it): This will be removed in the next major version of this software

You should update your command line to omit the --keystoreProvider option in this case. This will become an ERROR in a future version of xmlsectool.

...