Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3772 Переглядів

I run Odoo12 POS secure server. The POSBOX v (20.02) is also secured via NGINX and a self signed certificate. 

Problem is; Because the self signed certificate, Odoo POS still will show a mixed content error. This is unless one enters the POSBOS via its IP (e.g. https://123.123.123.1) first and accept the certificate.

Only thereafter you can start POS without error message and a running POSBOX.


My solution would be to install letsencrypt (or similar) on POSbox and install a certificate onto the POSbox. But as POSbox image runs as read-only there is no (easy) way to install additional software on the POSbox.


Has anyone solved this issue yet? The webkul solution  (https://webkul.com/blog/serve-odoo-posbox-over-https/) is only a partial solution because if you forget to accept the certificate first it even might result in crashing odoo server (needs reboot).

Аватар
Відмінити
Найкраща відповідь

Hello,

You can install some package in with chroot but the box must be writable:

sudo mount -o remount,rw /

sudo mount -o remount,rw /root_bypass_ramdisks/

sudo chroot /root_bypass_ramdisks/


But you install letsencrypt and after ?

A certificate is linked to a domain and your box haven't a domain...

You need a DNS server to resolve a subdomain to you local ip



Аватар
Відмінити
Автор

I plan to create a wildcard certificate *.mydomain.com and then assign the nginx on the POSBOX a name e.g. posbox.mydomain.com. My hope is that I can use the same certificate on the POSBox

Related Posts Відповіді Переглядів Дія
3
груд. 22
2341
1
квіт. 20
6291
0
лют. 19
3063
1
лип. 18
2354
0
лист. 17
2522