Bug #68855 [Asn->Opn]: Soap Could not connect to host
| From: | cmb@php.net | Date: | Wed, 22 Sep 2021 10:03:06 +0000 |
| Subject: | Bug #68855 [Asn->Opn]: Soap Could not connect to host | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236739@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
Updated by: cmb@php.net
Reported by: lampacz at gmail dot com
Summary: Soap Could not connect to host
-Status: Assigned
+Status: Open
Type: Bug
Package: SOAP related
Operating System: Debian wheezy
PHP Version: 5.6.4
-Assigned To: cmb
+Assigned To:
Block user comment: N
Private report: N
New Comment:
Thanks for the swift reply! You are giving us not much
info about the actual problem, though; I mean, how should
we be able to reproduce this, let alone debug?
Given that there are 42 upvotes, there might actually be something
wrong. Maybe somebody else will provide further details.
> For HTTPS client certificate authentication use local_cert and
> passphrase options
> Not possible to use without client https certificate.
> Certificate is without passphrase
I would have tried an empty passphrase then, rather than not
specifying the option at all.
Previous Comments:
------------------------------------------------------------------------
[2021-09-22 05:29:02] lampacz at gmail dot com
unable to confirm, not using this anymore, it's over 6 years :)
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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