Bug #68855 [Fbk->Asn]: Soap Could not connect to host

From: Date: Wed, 22 Sep 2021 05:29:02 +0000
Subject: Bug #68855 [Fbk->Asn]: Soap Could not connect to host
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236736@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68855&edit=1 ID: 68855 User updated by: lampacz at gmail dot com Reported by: lampacz at gmail dot com Summary: Soap Could not connect to host -Status: Feedback +Status: Assigned Type: Bug Package: SOAP related Operating System: Debian wheezy PHP Version: 5.6.4 Assigned To: cmb Block user comment: N Private report: N New Comment: unable to confirm, not using this anymore, it's over 6 years :) Previous Comments: ------------------------------------------------------------------------ [2021-09-21 12:34:55] cmb@php.net Is this still an issue with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2015-06-10 07:40:59] lampacz at gmail dot com This is not my case. I'm using https client certificate (required by server). Your case is ignoring validating https server certificate ------------------------------------------------------------------------ [2015-06-10 06:39:49] seyferseed at mail dot ru This is my production config for https remote air ticket service, and it is working without any cert, just with pass phrase. $soapParams = [ 'login' => $this->request['user'], 'password' => $this->request['password'], 'trace' => true, 'connection_timeout' => 10, 'default_socket_timeout' => 10, "exceptions" => true, 'soap_version' => SOAP_1_1, 'cache_wsdl' => WSDL_CACHE_NONE, 'location' => 'https://link/', "stream_context" => stream_context_create( [ 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false, ] ] ) ]; ------------------------------------------------------------------------ [2015-06-09 08:17:50] lampacz at gmail dot com http://php.net/manual/en/soapclient.soapclient.php For HTTPS client certificate authentication use local_cert and passphrase options Not possible to use without client https certificate. Certificate is without passphrase ------------------------------------------------------------------------ [2015-06-09 08:12:30] seyferseed at mail dot ru Try to update php to latest 5.6.9 version and perform debian dist-upgrade to latest libs versions. What does mean parameter 'local_cert' => 'sap.crt'? Try without it. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=68855 -- Edit this bug report at https://bugs.php.net/bug.php?id=68855&edit=1

« previous php.bugs (#236736) next »