Info |
---|
This article includes updates for Smart ID Identity Manager 24.R1. |
...
For more information, see the section "Configure Tomcat" below.
Prerequisites
Installed Smart ID 24.R1 or later
Installed and running HSM with PKCS#11 library available on the Identity Manager server
...
If you do not handle this, errors like this can occur:
Code Block | ||
---|---|---|
| ||
Caused by: java.lang.IllegalArgumentException: |
...
Parameter must be of type |
...
com.id2tech.security.store.Pkcs11LoadStoreParameters |
...
but is |
...
com.id2tech.security.store.Pkcs11LoadStoreParameters |
In addition, you may get a ClassNotFoundException for various BouncyCastle classes in crypto-related use-cases like softtoken soft token requests, for example:Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
To avoid this, you
...
can deploy each Identity Manager
...
web app on its own dedicated Tomcat instance (Docker deployments always work like this)
...
OR
...
or remove all CMSDK JARs and all BouncyCastle
...
JARs from all webapps' tomcat\<webapp>\WEB-INF\lib folders and place them in tomcat\libs instead
...
. This ensures that the JARs are served from the Tomcat common classloader for all
...
web apps.
CMSDK JARs:
cmcommon*.jar
cmsdk-*.jar
common-*.jar
BouncyCastle JARs:
bcmail-*.jar
bcpgp-*.jar
bcpkix-*.jar
bcprov-*.jar (including bcprov-ext-*.jar)
Additional information
Expand | ||
---|---|---|
| ||