Java ssl certificate issue -
i'm trying access local host access https site.s url:
public static void main(string a[]) { resttemplate resttemplate = new resttemplate(); string desc = "test comments updates" string url_1="https://site.s:port/gdhsbsbe"; resttemplate.put(url_1, desc); system.out.println("finished"); }
i got exception:
java.security.cert.certificateexception: no name matching site.s found.
any suggestions how avoid it? there way of getting certificate within program.
Comments
Post a Comment