Hi,
I put an internal wiki under HTTPS to prevent clear password transmissions and modified the ad hoc parsoidConfig.setInterwiki entry to https.
Parsoid seems to refuse the self-signed certificate presented by the wiki :
_ERROR in wikie7ar:Accueil with oldid: 10928_ _Stack trace: DoesNotExistError: Page Fetch failure for null : Error: DEPTH_ZERO_SELF_SIGNED_CERT_ _worker 8536 died (1), restarting._
How can I tell Parsoid to accept such certificates ?
Cheers,
There is no configuration option for it in the Parsoid but you can modify method request in mediawiki.ApiRequest.js (around line 90) by setting options.strictSSL = false. It is sort of hacky but should let you move forward.
Let me know if it works for you or if you need more help.
Inez
On Mon, May 19, 2014 at 2:03 AM, Fraifrai fraifrai@fraifrai.net wrote:
Hi,
I put an internal wiki under HTTPS to prevent clear password transmissions and modified the ad hoc parsoidConfig.setInterwiki entry to https.
Parsoid seems to refuse the self-signed certificate presented by the wiki :
*ERROR in wikie7ar:Accueil with oldid: 10928* *Stack trace: DoesNotExistError: Page Fetch failure for null : Error: DEPTH_ZERO_SELF_SIGNED_CERT* *worker 8536 died (1), restarting.*
How can I tell Parsoid to accept such certificates ?
Cheers,
-- Fraifraihttp://www.fraifrai.net
Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Hi,
Great, it works. Such a config element should be a localsettings.js parameter. Couls you add it to the roadmap ?
Cheers,
Le 19/05/2014 20:56, Inez Korczyński a écrit :
There is no configuration option for it in the Parsoid but you can modify method request in mediawiki.ApiRequest.js (around line 90) by setting options.strictSSL = false. It is sort of hacky but should let you move forward.
Let me know if it works for you or if you need more help.
Inez
On Mon, May 19, 2014 at 2:03 AM, Fraifrai fraifrai@fraifrai.net wrote:
Hi,
I put an internal wiki under HTTPS to prevent clear password transmissions and modified the ad hoc parsoidConfig.setInterwiki entry to https.
Parsoid seems to refuse the self-signed certificate presented by the wiki :
_ERROR in wikie7ar:Accueil with oldid: 10928_ _Stack trace: DoesNotExistError: Page Fetch failure for null : Error: DEPTH_ZERO_SELF_SIGNED_CERT_ _worker 8536 died (1), restarting._
How can I tell Parsoid to accept such certificates ?
Cheers,
-- Fraifrai http://www.fraifrai.net [1]
Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org [2]
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l [3]
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l [3]
wikitext-l@lists.wikimedia.org