On 04/02/2014 02:17 AM, Andreas Brill wrote:
This is an “self-made” certificate and not signed by
an official company.
Can you help me to allow this communication.
One option is to get a CA-signed cert, for example from a free provider like
https://www.startssl.com/. Directly supporting self-signed certs would
involve setting up an appropriate agent for the node https bindings and the
request library to use. See [1,2] for docs on this. All code making
connections to the API lives in lib/mediawiki.ApiRequest.js. We'd be happy
to review a patch adding support for custom HTTP certs per backend.
Gabriel
[1]:
http://nodejs.org/api/https.html#https_https_request_options_callback
[2]:
https://github.com/mikeal/request