Importing an SSL console certificate PKCS#12 file to the RSA Authentication Manager 8.2 Operations Console fails with password incorrect
Originally Published: 2016-10-13
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.2
Issue
- Within the RSA Authentication Manager 8.2 Operations Console, if you try to import an SSL console replacement certificate in PKCS#12 format, which indicates the CSR was generated by a third-party tool and requires a password, it fails with the following error:
Your password is incorrect. Correct your password, and try again.
- The password is known to be correct and the same .pfx or .p12 file imports successfully into Internet Explorer with the same password.
- The /opt/rsa/am/server/logs/ops-console.log will show something like the following error:
GUILog.traceException(587) | exception:
com.rsa.ims.security.tools.ssl.exception.InvalidCertificateException: Algorithm not allowable in FIPS140 mode: PBE/PKCS12/SHA1/RC2/CBC/40
at com.rsa.ims.security.tools.ssl.ImportSSLCertConsoleHelper.importP12File(ImportSSLCertConsoleHelper.java:573)
- Manually importing this certificate with Java Keytool results in this error:
keytool error: java.lang.SecurityException: Algorithm not allowable in FIPS140 mode: PBE/PKCS12/SHA1/RC2/CBC/40
java.lang.SecurityException: Algorithm not allowable in FIPS140 mode: PBE/PKCS12/SHA1/RC2/CBC/40Cause
If a third-party tool generates the CSR, it will also generate the public/private key pair, and the CA response certificate will typically be in a PKCS#12 format, with either a .pfx or .p12 file extension. It will be password-protected, because it also includes the private key.
It appears that in this case, the Entrust/Venafi certificate response used an RC2 algorithm to password-protect either the certificate file itself or the private key within the .pfx certificate file.
The Authentication Manager Operations Console flagged this as an incorrect password, but the /opt/rsa/am/server/logs/ops-console.log and keytool flagged it with the following error:
Algorithm not allowable in FIPS140 mode: PBE/PKCS12/SHA1/RC2/CBC/40
The /opt/rsa/am/server/logs/imsTrace.log will show this error:
com.rsa.ims.security.tools.ssl.exception.InvalidCertificateException: MacData.MacData: MAC Verification failed
Resolution
Workaround
- First, extract the original certificate and private key into encrypted PEM format:
openssl pkcs12 -in <PKCS#12_filename> -out <encrypted_PEM_filename>For example,
rsaadmin@am81p:~> ls /tmp/vmrsa* /tmp/vmrsa01.pfx rsaadmin@am81p:~> openssl pkcs12 -in /tmp/vmrsa01.pfx -out /tmp/vmrsa01.pem -nodes Enter Import Password: <enter password> MAC verified OK rsaadmin@am81p:~> ls /tmp/vmrsa* /tmp/vmrsa01.pfx rsaadmin@am81p:~> ls vmrsa* vmrsa01.pem rsaadmin@am81p:~>
- Now generate a FIPS compliant PKCS file with the following command:
openssl pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in <path to .pem file and file name> -out >path to .pfx file and file name> -name "<machine_name>"
For example,
rsaadmin@am81p:~> openssl pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in /tmp/vmrsa01.pem -out /tmp/vmrsa01pbe.pfx -name "vmrsa01-2016" Enter Export Password: <enter export password> Verifying - Enter Export Password: <enter export password> rsaadmin@am81p:~>
- Then generate a FIPS-compliant PKCS file, as shown here:
rsaadmin@am81p:~> openssl pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in <encrypted_PEM_filename> -out <PKCS#12_filename> -name "<display_name>"
Notes
Related Articles
RSA Authentication Manager Operations Console fails to display virtual host certificates 329Number of Views Generate a Certificate Signing Request Using the Operations Console 159Number of Views Authentication Manager Administration Server with Operations Console Fails to Start – Error Keywords: CertificateExpiredEx… 2.95KNumber of Views This certificate or its signing CA is not valid error when importing a certificate chain in RSA Authentication Manager 8.x… 958Number of Views RSA Authentication Manager Displays Unwanted Certificate Signing Requests (CSRs) in the Operations Console Certificate Man… 2.57KNumber of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory Mandatory Certificate Upgrade Required by 6th October 2025 for RSA MFA Agent for PAM, RSA MFA Agent for Apache, and Third … RSA Authentication Manager 8.9 Release Notes (January 2026)
Don't see what you're looking for?