Ask for HTTPS issues
To do SSL, is it necessary to go to the http://www.verisign.com/website to register, to purchase a certificate? There is no other way, thank you, Guide!
------Solution--------------------
function Curlsslrequest ($url, $postfield, $user _agent) {
$ch = Curl_init ();
curl_setopt ($ch, curlopt_post,1);
curl_setopt ($ch, Curlopt_postfields, $postfield);
curl_setopt ($ch, Curlopt_url, $url);
curl_setopt ($ch, curlopt_ssl_verifyhost,1);
curl_setopt ($ch, Curlopt_ssl_verifypeer, false);
curl_setopt ($ch, curlopt_useragent, $user _agent);
curl_setopt ($ch, curlopt_returntransfer,1);
curl_setopt ($ch, Curlopt_ssl_verifypeer, FALSE); This line makes it work under HTTPS
$result =curl_exec ($ch);
Curl_close ($ch);
return $result;
}
$user _agent = "mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) ";
Need your server to turn on OpenSSL support.
------Solution--------------------
Have to buy a certificate,
Our company's mall is the use of SSL, so look authoritative point.
If you can use it, the company that issued the certificate is not going to starve.
Your own issue can only be tested locally. The Web browser that you open HTTPS will report that the current certificate is invalid or invalidated. You think, if it involves payment, who dares to buy things on your website?
You want to issue a system with Windows 2000 or 2003 Server Edition. XP does not have a certificate service.
After installing Certificate Services, request a key in IIS he will spawn under the system disk. Certreq.txt
To the Certificate Server, and then install it in IIS.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.