2 posts

Java SSL Certificate Verification Error

If you come across the situation, that your java programs are not able to connect to ssl encrypted services, it might be most likely that the java cacerts keystore is empty or not uptodate. This might also be due to a bug in the java (or ca-certificate-java) package (( In order to fix the issue, you can run:

sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure

“I solved it” – Java with MacOSX

Many of you have probably noticed during the last months. Java is somewhat broken with MacOSX since Oracle started shipping Java7 for MacOSX. Some of the things I recommend about using Java on MacOSX:

– Install the SDK even if you do not necessary need it as it might fix some problems
– If you upgrade Java7 and you need Java6 for some applications (e.g. in my case it was Cisco ASDM configuration for Cisco ASA), you might need to reinstall Java6 (latest version as of July 2013 is here: ). I have no idea what it does, but it does something with the binaries in /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/ – sizes seem to be the same, I don’t have any md5sums…

Hopefully that should fix most of the Java issues.