Issue with trying to Login to a https secure using apache commons httpclient class

后端 未结 3 1845
别跟我提以往
别跟我提以往 2021-02-10 16:52

Iam trying to login to a https secured site using Apache commons httpclient.

Iam not getting any way to pass the certificate along with my httprequest , since I cannot f

3条回答
  •  萌比男神i
    2021-02-10 17:35

    I would ask you what version of Java you were using because based on something that happened to me a long time ago: Java has it's own SSL cert which comes as part of the library. After a while, this cert goes out of date. The fix was to update to a later version of Java. Mind you, this was a long time ago, but I think this could be your issue.

    See also. (again, highly dependent on versions of java and httpclient)

提交回复
热议问题