The certificate for this server is invalid

前端 未结 9 1869
花落未央
花落未央 2021-02-13 18:04

I know that if I use following nsurlconnectiondelegate it will be fixed

– connection:willSendRequestForAuthenticationChallenge: – connection:canAuthenti

9条回答
  •  南笙
    南笙 (楼主)
    2021-02-13 18:48

    In my case, this error occurred due to my system date. It was set as an old date, and the certificate is not effective from that old date. After correct the date, it works.

提交回复
热议问题