Jump to content

WireHTTP use custom port and self signed certificate


pwFoo
 Share

Recommended Posts

Hi, I try to convert a rest api client to WireHttp and seaching for the option?

verify=false // curl --insecure, self signed certificates

Haven't found such a option in api documentation or source code (quick search...).

Are self signed certificates supported by WireHttp?

Link to comment
Share on other sites

UPDATE

I can't test self signed certificate to work because WireHttp don't respect given connection port?

The following url:

https://127.0.0.1:10000/api/...

Will return that error message:

2: fsockopen(): unable to connect to ssl://127.0.0.1:443 (Operation timed out), 110: Operation timed out

Looks like port 10000 is changed to default https port 443 by WireHttp? php curl is installed and also tried to force it with option 'use' (if it falls back to another method).

Need it solved or drop WireHttp for that use ☹️

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...