Usage of Curl:
Http://linux.about.com/od/commands/l/blcmdl1_curl.htm
Der Format cert converted to PEM format (Curl accepts PEM format only):
OpenSSL x509-inform der-in cert.cer-out Cert.pem
The Curl command signals:
Curl--cacert Rootca.pem (or--capath ' Certpath '-h ' content-type:text/xml; Charset=utf-8 '-H ' soapaction: "Http://tempuri.org/HeartBeat" ' Https://xxxx.asmx-data @heartbeat. xml
--capath Parameters for Curl:
The certificate chain that validates the SSL Web site is stored under the path indicated by Capath and must be handled with C_rehash. C_rehash is similar to the following code:
for file in *.pem; Do ln-s $file ' OpenSSL x509-hash-noout-in $file '. 0;done
Heartbeat.xml is a file with parameters HTMLEncode:
Btgs not to copy things, I only have a general description. <soap12:Envelope> and <soap12:body> are fixed, webservice are the same.
<soap12:body> Below is
Btgs can't stand, to share summed up things are so laborious.
Verifying SSL Web site with Curl (WebService)