Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS protocol #18

Closed
PeterPan73 opened this issue Jan 8, 2016 · 1 comment
Closed

TLS protocol #18

PeterPan73 opened this issue Jan 8, 2016 · 1 comment

Comments

@PeterPan73
Copy link

Hi everyone, is it possible to force the connection through TLS protocol instead SSL? Because with SSL protocol show me this error: "SSL operation failed with code 1. OpenSSL Error messages: error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure". I will be grateful find help.

@robrichards
Copy link
Owner

That has to be done on the PHP level using stream contexts - either passed to the soap constructor or via the libxml2 global stream context. I believe the flags you are looking for are only available in PHP 5.6+. http://docs.php.net/manual/en/migration56.openssl.php#migration56.openssl.crypto-method. It might be possible to play around with the ciphers (still using a stream context) to achieve what you want as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants