I am able to create a nss database at C:/nss/fips/db.
And I have put the pkcs11.cfg file in C:/nss/fips/config.
Here is what is in my pkcs11.cfg:
name = nss-fips
nssLibraryDirectory = C:/nss/lib
nssSecmodDirectory = C:/nss/fips/db
nssModule = fips
Modification I made to java.security:
and then incremented all other providers.
The issue I'm seeing when I try to use keytool after adding the configuration (for example: keytool -list -storetype pkcs11) is "keytool error: java.security.ProviderException: Could not initialize NSS"
I assume it is something wrong with my configuration but I'm not able to figure it out. Any help is appreciated.