Send GET HTTPS request but get 403 forbidden response, why?

前端 未结 2 1988
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-11 08:15

Below is the URL I send to the WS after the handshake is done

    \"https://ekp.truefriend.com/COVIWeb/gate/AutoAuthentication.aspx?UserID=DP0001&BackUrl         


        
2条回答
  •  太阳男子
    2021-02-11 08:49

    Your question contains the answer. Upon trying to access the URL you specified in Chrome, you get a big red warning "The site's security certificate is not trusted!". While you can manually override in a browser and ignore the warning, your code treats this as a security problem and a dead end. It even recommends you contact the server administrator.

    If you are the server's admin, change the SSL cert to a valid one. if not, ask the admin to do it. Failing that, try accessing the HTTP (non-SSL) version of the site.

提交回复
热议问题