Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #37384 - properly pass fips=false when checking keystore
In a FIPS-enabled environment, calling `keytool -list` with a wrong password doesn't yield an error, unless we also pass `fips=false` like we do when creating the keystore: # keytool -list -keystore ./store -storepass wrong-password Keystore type: PKCS11 Keystore provider: SunPKCS11-NSS-FIPS Your keystore contains 0 entries Passing `fips=false` makes it correctly raise the expected exception: # keytool -list -keystore ./store -storepass wrong-password -J-Dcom.redhat.fips=false keytool error: java.io.IOException: keystore password was incorrect Fixes: 6fea0bb (cherry picked from commit b9667a0)
- Loading branch information