Users Guide

August 2019 Copyright © 2019 Dell Inc. or its subsidiaries. All rights reserved. 1
Troubleshooting Guide
18.07.19
RSA BSAFE
®
Crypto-J 6.2.5
Troubleshooting Guide
This document provides information and instructions for troubleshooting common
issues for RSA BSAFE Crypto-J 6.2.5 (Crypto-J) on all released platforms.
Contents:
Enforce Strict DER Encoding of X.509 Certificates .....................................2
Statically Register JsafeJCE Provider as the Default JCE Provider .........3
Dynamically Register the JsafeJCE Provider ..............................................4
Use Crypto-J in FIPS-140 Mode in Compliance with FIPS 140-2
Requirements ...................................................................................................5
Slow FIPS-140 Start-up on Android ..............................................................5
Install JCE Unlimited Strength Jurisdiction Policy Files ..............................6
Error when Re-Signing the Jar Files .............................................................7
Errors when Running a Java Web Start Application ...................................7
Decrease the Time Taken for Cryptographic Operations ............................8
Entropy Generation ..................................................................................8
Decrease the Time Taken for Cryptographic Operations that use
Blinding .......................................................................................................8
Convert Oracle JKS Keystore to PKCS #12 format ....................................9
Error ‘Algorithm not allowable in FIPS140 Mode’ ........................................9
Use Crypto-J with J2EE Applications and Application Servers ................ 10
Static Registration ...................................................................................10
Dynamic Registration .............................................................................10
Explicit use of Provider Instances ......................................................... 11
Intermittent Test Failures with some EC Algorithms ..................................11
Signature Verification Fails for some RSA PSS Signatures .....................12
Use Crypto-J in FIPS 140-2 Mode on Oracle WebLogic 11g and 12c ...12
Use Crypto-J Jars in an EAR Application on Red Hat JBoss ..................13
Use Crypto-J jars in an EAR Application on JBoss 5 and 6 ..............13
Use Crypto-J jars in non-FIPS 140-2 mode, in an EAR Application on
JBoss 7 .....................................................................................................13
Use Crypto-J jars in FIPS 140-2 mode, in an EAR Application on
JBoss 7 .....................................................................................................14
Use Crypto-J Jars in an EAR Application on Oracle WebLogic ...............14
Gradle Incompatibility with Android Studio .................................................15
Reuse of IV is Not Allowed in GCM Mode .................................................. 15
Customization Using the System and Security Properties .......................15

Summary of content (15 pages)