JDK-4426271 : regression: jce1.2.1 reports Cannot set up certs for trusted CAs
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Affected Version: 1.3.1
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-03-15
  • Updated: 2001-03-16
  • Resolved: 2001-03-16
Related Reports
Duplicate :  
Description

Name: boT120536			Date: 03/15/2001


java version "1.3.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-beta-b15)
Java HotSpot(TM) Client VM (build 1.3.1beta-b15, mixed mode)

using identical installation of jce1.2.1 as works with jdk1.3.0, my program gets
the following exception upon startup:

Exception in thread "main" java.lang.ExceptionInInitializerError:
java.lang.SecurityException: Cannot set up certs for trusted CAs
        at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])
        at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])
(Review ID: 118919) 
======================================================================

Comments
WORK AROUND Name: boT120536 Date: 03/15/2001 go back to using jdk1.3.0_02. ======================================================================
01-09-2004

EVALUATION It's very likely to be caused by the P1 bug 4416056. I've confirmed with the bug reporter that the install path does contain space and this may cause permissions are not correctly granted to the installed extensions (including JCE). yu-ching.peng@Eng 2001-03-15 Confirmed with filer that it's the space in the path that's causing the problems. yu-ching.peng@Eng 2001-03-16
15-03-2001