JDK generates ssl certificate