Secure connection(HTTPS)

Estimated reading: 2 minutes 183 views

When an Odoo POS uses devices that connect directly, such as an ePOS printer, it switches to HTTP by default. This guide shows administrators how to force the Odoo POS to use a secure HTTPS connection instead, using a system parameter.

Why the POS uses HTTP

If Direct Devices is enabled in a POS’s settings, for example because you use an ePOS printer, HTTP becomes the default protocol so the browser can reach the device on your local network.

How to force HTTPS

  1. Activate developer mode.
  2. Go to Settings > Technical > Parameters > System Parameters.
  3. Click New to create a parameter.
  4. Set Key to point_of_sale.enforce_https.
  5. Set Value to True.
  6. Click Save.

After you enable HTTPS

Browsers block or warn about HTTPS connections to devices that do not have a trusted certificate. If your ePOS printer stops responding, generate and import a self-signed certificate for it, as described in our guide Self-signed certificate for ePOS printers.

Frequently asked questions

Why does my POS switch to HTTP?

When Direct Devices is enabled in the POS settings, for example to use an ePOS printer, HTTP becomes the default protocol.

Do I need developer mode to force HTTPS?

Yes. System Parameters are only visible in the Settings app once developer mode is activated.

Will my ePOS printer still work after forcing HTTPS?

It may need a trusted certificate. Follow our guide on the self-signed certificate for ePOS printers so the browser can reach the printer securely.

Need help?

Need help securing your Odoo Point of Sale setup? Contact support@thoughtlogik.com or see our Odoo support services.

Leave a Reply

Your email address will not be published. Required fields are marked *

Learn how we helped 100 top brands gain success

Subscribe

×
Cancel