fix the ssl certificate issue for jdk.