Exception unable to validate certificate of the target in spring MVC

前端 未结 4 1681
逝去的感伤
逝去的感伤 2021-01-02 09:57

i am trying to get issue details from jira server using my username and password but i am getting an ssl error saying unable to validate certificate

so how to valida

4条回答
  •  感动是毒
    2021-01-02 10:33

    You can Replace

    String base64Creds = "Basic " + new String( encodedAuth );
    

    with

    String base64Creds = new String( encodedAuth ); //"Basic " String duplicated
    

提交回复
热议问题