When I run gen-ssl-keys on an SUSE platform, the <host>.keystore file is
not created.  Removing the redirection of the output from /dev/null, I
see this:

Enter input keystore passphrase: changeit
Enter output keystore passphrase: changeit 
Exception in thread "main" java.io.IOException: Error in loading the
keystore: DerInputStream.getLength(): lengthTag=127, too big.
        at com.ibm.crypto.provider.PKCS12KeyStore.engineLoad(Unknown
Source)
        at java.security.KeyStore.load(KeyStore.java:414)
        at org.sipfoundry.commons.PKCS12Import.PKCS12Import.main(Unknown
Source)

The command that is failing is:
echo changeit
changeit | 
    /usr/bin/java       -classpath
/usr/share/java/sipXecs/sipXcommons//sipxcommons.jar
org.sipfoundry.commons.PKCS12Import.PKCS12Import
'bcmsl2144.ca.nortel.com.p12'       'bcmsl2144.ca.nortel.com.keystore'

bcmsl2144:/var/sipxdata/certdb # java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260sr3-20081106_07(SR3))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32
jvmxp3260-20081105_25433 (JIT enabled, AOT enabled)
J9VM - 20081105_025433_bHdSMr
JIT  - r9_20081031_1330
GC   - 20081027_AB)
JCL  - 20081106_01

Does anyone know what this means?

Thanks,
Carolyn
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to