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

stream_socket_enable_crypto(): SSL operation failed with code 1 #101

Open
vmato opened this issue Sep 18, 2020 · 1 comment
Open

stream_socket_enable_crypto(): SSL operation failed with code 1 #101

vmato opened this issue Sep 18, 2020 · 1 comment

Comments

@vmato
Copy link

vmato commented Sep 18, 2020

Running our JAXL app on windows computer succeed but on BSD server JAXL fails to connect to the same xmpp server with following:

 stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/home/test/xmpp/vendor/jaxl/jaxl/src/JAXL/core/jaxl_socket_client.php on line 175

What can we do with this? Is it possible to slip ssl peer verify?

@abhinavsingh
Copy link
Member

@vmato Hi, yes peer verification can be bypassed. Most likely it only needs a flag when calling crypto functions. However, this library is no longer maintained and I haven't touched PHP in about 10 years now. I'll recommend to use an actively maintained library. Thank you.

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