Dear all, I impemented node.js / parsoid and nginx and are able to access the mediawiki via https 443. But when I use the button edit which appeared after I implemented visual editor I got the following error message:
Error loading data from server: parsoidserver-http-curl-error: Peer certificate cannot be authenticated with known CA certificates. Would you like to retry?
This is an "self-made" certificate and not signed by an official company. Can you help me to allow this communication.
Kind regards Andreas Brill
________________________________
Utimaco Safeware AG
Seat: Aachen - Registergericht Aachen HRB 17938 WEEE-Reg.No.: DE39805015 Managementboard: Malte Pollmann (Chairman) CEO, Dr. Frank J. Nellissen CFO Supervisory Board: Katrin Wehr-Seiter (Chairman)
________________________________
Utimaco Safeware AG
Seat: Aachen - Registergericht Aachen HRB 17938 WEEE-Reg.No.: DE39805015 Managementboard: Malte Pollmann (Chairman) CEO, Dr. Frank J. Nellissen CFO Supervisory Board: Katrin Wehr-Seiter (Chairman)
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
wikitext-l@lists.wikimedia.org