Last modified: 2014-09-18 03:35:23 UTC
The error when you use self signed certificate is the following : Page Fetch failure for "https://myhost/api.php": Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE DoesNotExistError: Page Fetch failure for "https://myhost/api.php": Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE at ApiRequest._requestCB (/usr/lib/parsoid/src/lib/mediawiki.ApiRequest.js:153:15) at self.callback (/usr/lib/parsoid/node_modules/request/request.js:121:22) at Request.emit (events.js:95:17) at ClientRequest.self.clientErrorHandler (/usr/lib/parsoid/node_modules/request/request.js:230:10) at ClientRequest.emit (events.js:95:17) at CleartextStream.socketErrorListener (http.js:1547:9) at CleartextStream.emit (events.js:95:17) at SecurePair.<anonymous> (tls.js:1386:19) at SecurePair.emit (events.js:92:17) at SecurePair.maybeInitFinished (tls.js:979:10) I push a code review on https://gerrit.wikimedia.org/r/#/c/159811/2 But this not working... It need to offer the strictSSL option of request module. I found this option on https://github.com/mikeal/request I hardcoded strictSSL to false in my production server... I wanted to share this.
Change 159811 had a related patch set uploaded by Vichak: (Bug 70761) Add strictSSL option to ParsoidConfig https://gerrit.wikimedia.org/r/159811
*** This bug has been marked as a duplicate of bug 64003 ***
Change 159811 merged by jenkins-bot: (Bug 70761) Add strictSSL option to ParsoidConfig https://gerrit.wikimedia.org/r/159811