GoDaddy SSL Cert Not Working With Java

前端 未结 11 1895
无人及你
无人及你 2020-12-22 22:55

UPDATE 1/26/2015 -- It appears the most recent JRE/JDK for Java 8 (update >= 31) and JRE/JDK for Java 7 now include the Godaddy G2 CA server in the default trust st

11条回答
  •  粉色の甜心
    2020-12-22 23:26

    Update - this "solution" is no longer valid (see my above accepted answer) - keeping this answer because it did help alleviate the problem so long as the side-effects are tolerable.

    Ok, I may have found a work-around for my case.

    props.put("mail.smtp.ssl.trust", "smtp.somecompany.com");
    

    I added this to my Session construction, and now it works. This is a work-around, not a fix imho since I still do not know why my Godaddy SSL cert is not default trusted... it is not a self-signed cert.

    Anyone please feel free to chime in as I'd really like to understand this problem.

提交回复
热议问题