diff --git a/mdx/uk/nshield.cfg b/mdx/uk/nshield.cfg new file mode 100644 index 00000000..d04ed48f --- /dev/null +++ b/mdx/uk/nshield.cfg @@ -0,0 +1,4 @@ +library=/opt/nfast/toolkits/pkcs11/libcknfast.so +name=nShield +description=nShield Token +slot=-1 diff --git a/preprod.properties b/preprod.properties index 875707fe..0e03cf0d 100644 --- a/preprod.properties +++ b/preprod.properties @@ -12,7 +12,7 @@ sign.uk.keystoreProvider = sun.security.pkcs11.SunPKCS11 # # Location of the PKCS#11 configuration file for the Thales HSM. # -sign.uk.pkcs11Config = /opt/xmlsectool/nshield.cfg +sign.uk.pkcs11Config = ${basedir}/mdx/uk/nshield.cfg # # Signing key alias within the keystore. diff --git a/prod.properties b/prod.properties index 844ba821..b3baa8b8 100644 --- a/prod.properties +++ b/prod.properties @@ -12,7 +12,7 @@ sign.uk.keystoreProvider = sun.security.pkcs11.SunPKCS11 # # Location of the PKCS#11 configuration file for the Thales HSM. # -sign.uk.pkcs11Config = /opt/xmlsectool/nshield.cfg +sign.uk.pkcs11Config = ${basedir}/mdx/uk/nshield.cfg # # Signing key alias within the keystore.