summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2019-08-23 17:03:55 +0200
committerGitHub <noreply@github.com>2019-08-23 17:03:55 +0200
commit8940c56008335cedb1ff708174066643a70303bd (patch)
tree503422fdbeeaf3475a4879a951e416117257f967 /addons/web/static/src/js/views/basic/basic_controller.js
parent043393db7c41c469267778f6f27a6be09af83929 (diff)
parent2af13429cff3ead776c3c5b4a8168eba1938aa86 (diff)
[ADD] iot: Load a true certificate on IoT Box
With this commit we add the possibility to save the db_uuid and enterprise_code on the IoT Box. We check the current SSL certificate and if it is not authenticated or not up to date we send a request to `https://www.odoo.com/odoo-enterprise/iot/x509` with the db_uuid and enterprise_code to get the certificate, key, and domain associated with the client. The IoT Box will be accessible in HTTPS according to the following domain: `https://<ip-with-dashes>.<sub-hash>.odoo-iot.com` `<ip-with-dashes>` being the ip address with dashes `<sub-hash>` being a subdomain assigned by Odoo to a customer Task: 1931770 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr closes odoo/odoo#35854 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions