Restricting Server or Curl from Getting Data of a Page or IP
Hello, i want to know how can i restrict my server or curl to access a url through https
I want to restrict Example Domain
then I will get this output :
curl: (51) Unable to communicate securely with peer: requested domain name does not match the server's certificate.
and if i use php to get contents of that page via
file_get_contents("
Please sign in to leave a comment.
Comments
0 comments