I am running zendsvr6 and we have php running that hosts our own website.
We would like to use the API's provided by shipping company UPS to get tracking information.
I am trying use some sample code provided by UPS and I am failing. We get an error message saying 'Connection Failed'.
I contact UPS and they said: UPS has upgraded the communication security protocols for all web-based applications. Please contact your company's IT department or development team to ensure that any security protocols currently used meet the TLS 1.2 requirement.
Effective January 18, 2018, UPS will only accept TLS 1.1 and TLS 1.2 security protocols. It is highly recommended that the most current version, TLS 1.2, be implemented.
based on this article: https://zend18.zendesk.com/hc/en-us/art ... or-PHP-5-6
I ran the following command:
php-cli -r 'ini_set("display_errors", 1);file_get_contents("https://www.zend.com/");'
and did get the warning messages the article said I would get if I had the problem.
Do I proceed with the remaining steps or am I barking up the wrong tree?
Thanks for reading and any feedback.