Mailinglist Archive: opensuse-bugs (2746 mails)

< Previous Next >
[Bug 781690] OpenJDK 1.7 SSL don't work / NoSuchAlgorithmException: SunJSSE

https://bugzilla.novell.com/show_bug.cgi?id=781690

https://bugzilla.novell.com/show_bug.cgi?id=781690#c11


Martin Jakl <martin.jakl@xxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |REOPENED
InfoProvider|martin.jakl@xxxxxxxxx |

--- Comment #11 from Martin Jakl <martin.jakl@xxxxxxxxx> 2013-06-03 11:48:10
UTC ---
I'm using bash.

I had to remove java-cacerts first, because I had the oracle version, so script
did nothing. Here is the result:

1st run
++ /usr/bin/file --mime-type -b /var/lib/ca-certificates/java-cacerts
+ '[' 'ERROR: cannot open `/var/lib/ca-certificates/java-cacerts'\'' (No such
file or directory)' '!=' 'xapplication/x-java-keystore;' ']'
+ /usr/sbin/update-ca-certificates
creating /var/lib/ca-certificates/java-cacerts ...
imporing thawte_Primary_Root_CA_G2.pem failed:
java.security.spec.InvalidKeySpecException
imporing AffirmTrust_Premium_ECC.pem failed:
java.security.spec.InvalidKeySpecException
imporing GeoTrust_Primary_Certification_Authority_G2.pem failed:
java.security.spec.InvalidKeySpecException
imporing COMODO_ECC_Certification_Authority.pem failed:
java.security.spec.InvalidKeySpecException
imporing VeriSign_Class_3_Public_Primary_Certification_Authority_G4.pem failed:
java.security.spec.InvalidKeySpecException
139 added, 0 removed.
creating /var/lib/ca-certificates/gcj-cacerts ...
imporing thawte_Primary_Root_CA_G2.pem failed:
java.security.spec.InvalidKeySpecException
imporing AffirmTrust_Premium_ECC.pem failed:
java.security.spec.InvalidKeySpecException
imporing GeoTrust_Primary_Certification_Authority_G2.pem failed:
java.security.spec.InvalidKeySpecException
imporing COMODO_ECC_Certification_Authority.pem failed:
java.security.spec.InvalidKeySpecException
imporing VeriSign_Class_3_Public_Primary_Certification_Authority_G4.pem failed:
java.security.spec.InvalidKeySpecException
2 added, 0 removed.
++ stat -c %s /usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/security/cacerts
+ '[' 037 = 032 ']'
++ /usr/bin/file --mime-type -b -L
/usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/security/cacerts
+ '[' application/octet-stream '!=' 'xapplication/x-java-keystore;' ']'
+ rm -f /usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/security/cacerts
+ ln -s /var/lib/ca-certificates/java-cacerts
/usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/security/cacerts

2nd run
++ /usr/bin/file --mime-type -b /var/lib/ca-certificates/java-cacerts
+ '[' application/octet-stream '!=' 'xapplication/x-java-keystore;' ']'
+ /usr/sbin/update-ca-certificates
++ stat -c %s /usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/security/cacerts
+ '[' 037 = 032 ']'
++ /usr/bin/file --mime-type -b -L
/usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/security/cacerts
+ '[' application/octet-stream '!=' 'xapplication/x-java-keystore;' ']'
+ rm -f /usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/security/cacerts
+ ln -s /var/lib/ca-certificates/java-cacerts
/usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre/lib/security/cacerts


after that java-cacerts is type data

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >