I'm using Apache Chemistry PHP client with local Alfresco repository with http protocol over 8080 and I can connect to the repo.
However, when I try to use the same library over other Alfresco repository over https protocol (port 8443) I get this exception:
[26-Jun-2016 01:51:10 Europe/Madrid] PHP Fatal error: Uncaught exception 'CmisRuntimeException' in /Example/cmis/cmis_repository_wrapper.php:176 Stack trace:
#0 /Example/cmis/cmis_repository_wrapper.php(210): CMISRepositoryWrapper->convertStatusCode(0, false)
#1 /Example/cmis/cmis_repository_wrapper.php(191): CMISRepositoryWrapper->doGet('http://192.168....')
#2 /Example/cmis/cmis_repository_wrapper.php(128): CMISRepositoryWrapper->connect('http://192.168....', 'angel', '123456', NULL)
#3 /Example/cmis/cmis_service.php(143): CMISRepositoryWrapper->__construct('http://192.168....', 'angel', '123456', NULL, Array)
I can see that doGet function use "http" URL but my string connection is with https.
What is the problem? The same code with Alfresco repository over http protocol is correct.