jaxl/JAXL

stream_socket_enable_crypto(): SSL operation failed with code 1

vmato opened this issue · 1 comments

vmato commented

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?

@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.