Closes-Bug: #1606646
Post node version 0.9.1, tls, https: validate server certificate by default.
So in case self signed certificate, UI will not work with https request to
openstack services. https://github.com/mscdex/node-imap/issues/181#issuecomment-14781480
Fix: Added rejectUnauthorized flag.
In node post v0.11.14, we have custom checkServerIdentity in options to have
more control.
UT Results:
+++++++++++
contrail-web-controller:
------------------------
PhantomJS 1.9.8 (Mac OS X 10.9.5): Executed 376 of 376 SUCCESS (1 min 41.645 secs / 1 min 39.143 secs)
Done, without errors.
contrail-web-server-manager:
----------------------------
PhantomJS 1.9.8 (Mac OS X 10.9.5): Executed 89 of 89 SUCCESS (11.9 secs / 11.643 secs)
Done, without errors.
contrail-web-storage:
--------------------
PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 84 of 84 SUCCESS (20.301 secs / 18.748 secs)
Done, without errors.
Reviewed: https:/ /review. opencontrail. org/22440 github. org/Juniper/ contrail- web-core/ commit/ 60c214946aa0ceb 34e668a212a4103 6b693e63df
Committed: http://
Submitter: Zuul
Branch: R3.1
commit 60c214946aa0ceb 34e668a212a4103 6b693e63df
Author: Biswajit Mandal <email address hidden>
Date: Tue Jul 26 23:10:05 2016 +0530
Closes-Bug: #1606646 /github. com/mscdex/ node-imap/ issues/ 181#issuecommen t-14781480
Post node version 0.9.1, tls, https: validate server certificate by default.
So in case self signed certificate, UI will not work with https request to
openstack services.
https:/
Fix: Added rejectUnauthorized flag.
In node post v0.11.14, we have custom checkServerIdentity in options to have
more control.
UT Results: web-controller: ------- ------- ---
+++++++++++
contrail-
-------
PhantomJS 1.9.8 (Mac OS X 10.9.5): Executed 376 of 376 SUCCESS (1 min 41.645 secs / 1 min 39.143 secs)
Done, without errors.
contrail- web-server- manager: ------- ------- -------
-------
PhantomJS 1.9.8 (Mac OS X 10.9.5): Executed 89 of 89 SUCCESS (11.9 secs / 11.643 secs)
Done, without errors.
contrail- web-storage: ------- ------
-------
PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 84 of 84 SUCCESS (20.301 secs / 18.748 secs)
Done, without errors.
Change-Id: Iec589a59b5ae15 3c3b6a57ad1e96a 025c8a9280e