curl -v https://<SERVER_NAME>
* Server certificate: * subject: C=US; ST=California; L=Mountain View; O=Google Inc; CN=www.google.com * start date: Jan 10 10:42:09 2018 GMT * expire date: Apr 4 09:41:00 2018 GMT * subjectAltName: host "www.google.com" matched cert's "www.google.com" * issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3 * SSL certificate verify ok.
openssl s_client -connect <SERVER_NAME>:443 -showcerts -servername <SERVER_NAME>
And a good result would be:
Verify return code: 0 (ok) ---
curl -v -H "Host: <SERVER_NAME>" https://127.0.0.1or
openssl s_client -connect 127.0.0.1:443 -showcerts -servername <SERVER_NAME>
echo | openssl s_client -servername <SERVER_NAME> -connect <SERVER_NAME>:443 | openssl x509 -noout -datesexample:
$ echo | openssl s_client -servername www.google.com -connect www.google.com:443 | openssl x509 -noout -dates depth=1 C = US, O = Google Trust Services, CN = Google Internet Authority G3 verify error:num=20:unable to get local issuer certificate verify return:0 DONE notBefore=Jan 10 10:42:09 2018 GMT notAfter=Apr 4 09:41:00 2018 GMT
curl -v --cert ./Client_cert.p12 https://<SERVER_NAME>/order-service/order
curl -v --cacert ./CA_Cert.pem https://<SERVER_NAME>/order-service/order
curl -v -X POST -H "content-type: application/json" https://<SERVER_NAME>/order-service/order -d \
'Request: {
"requestContext": {
"shipTo": "000000000",
"timeZone": "-180",
"langCode": "en"
},
"SalesDate": "12/11/17",
"Language": "ENG",
"DeliveryPreference": "E",
"purchaseOrderNumber": "12345",
"customerEmail": "noone@nobody.com"
}'
curl -v --cacert ./CA_Cert.pem --cert ./Client_cert.p12 -X POST -H "content-type: application/json" https://<SERVER_NAME>/order-service/order -d \
'Request: {
"requestContext": {
"shipTo": "000000000",
"timeZone": "-180",
"langCode": "en"
},
"SalesDate": "12/11/17",
"Language": "ENG",
"DeliveryPreference": "E",
"purchaseOrderNumber": "12345",
"customerEmail": "noone@nobody.com"
}'
001114623

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.