diff options
| author | lejeune quentin <qle@odoo.com> | 2019-08-20 11:50:54 +0200 |
|---|---|---|
| committer | lejeune quentin <qle@odoo.com> | 2019-08-23 12:21:03 +0200 |
| commit | 2af13429cff3ead776c3c5b4a8168eba1938aa86 (patch) | |
| tree | 3896202dbac92638e6eb8914bb3bb027d93f20e2 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 84de7cbcb623e04994c768fa6023366a945aea8a (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
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
