Bonjour à tous, bien que cette discussion soit très vielle, jepose quand même mon problème: il s'agit d'une authentification cliente pour un web service sur un serveur en https en local. Mon service web fonctionne très bien en http.
Après avoir forcer l'authentification ssl client pour accéder au webservice, ceci dans un vhost sous la config du serveur web apache, j'obtiens l'erreur suivante:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://localhost/e-cartesim.com/customer.wsdl' : failed to load external entity "https://localhost/e-cartesim.com/customer.wsdl"
je ne sais pas pourquoi, alors que dans le client du web service, j'ai passé les paramètres :
$client=new SoapClient("https://localhost/e-cartesim.com/customer.wsdl",array('local_cert'=>"chemin/absolu/vers/mon/certificat/client", 'passphrase'="passprhaseDuCertificatClient"));
Est-ce-que quelqu'un pourrait me venir en aide?
Merci d'avance.
Partager