1.test examples/discover.php
1.1 error
when i test http://localhost/t/php-openid/examples/discover.php
and used bellow for "Enter an OpenID URL to begin discovery":
http://localhost/t/php-openid/examples/server/server.php
,get this error:
Got no response code when fetching https://localhost:80/t/php-openid/examples/server/server.php/idpXrds
CURL error (35): error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
fixed:
then i changed above URL to:
https://localhost/t/php-openid/examples/server/server.php
1.2 error
then get bellow error message:
Got no response code when fetching https://localhost/t/php-openid/examples/server/server.php
CURL error (60): SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
fixed:
add one line in php-openid\Auth\Yadis\ParanoidHTTPFetcher.php line:130
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
No comments:
Post a Comment