Last modified: 2014-09-18 03:35:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72761, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70761 - Require SSL certificates to be valid; don not allow to use your own certificate
Require SSL certificates to be valid; don not allow to use your own certificate
Status: RESOLVED DUPLICATE of bug 64003
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Parsoid Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-12 08:53 UTC by vichak
Modified: 2014-09-18 03:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description vichak 2014-09-12 08:53:56 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.
Comment 1 Gerrit Notification Bot 2014-09-12 17:20:50 UTC
Change 159811 had a related patch set uploaded by Vichak:
(Bug 70761) Add strictSSL option to ParsoidConfig

https://gerrit.wikimedia.org/r/159811
Comment 2 Arlo Breault 2014-09-15 16:55:21 UTC

*** This bug has been marked as a duplicate of bug 64003 ***
Comment 3 Gerrit Notification Bot 2014-09-18 03:35:23 UTC
Change 159811 merged by jenkins-bot:
(Bug 70761) Add strictSSL option to ParsoidConfig

https://gerrit.wikimedia.org/r/159811

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links