Self-signed certificate for ePOS printers

Important

Since the Chromium 142 update, using a self-signed certificate is no longer required. The recommended approach is to use the Local Network Access method instead.

To work with Odoo, some printer models that can be used without an IoT system may require the HTTPS protocol to establish a secure connection between the browser and the printer. However, trying to reach the printer’s IP address using HTTPS results in a warning page in most web browsers. Force the connection to establish an HTTPS link and enable the printer in Odoo.

Generation, export, and import of self-signed certificates

Printers that operate without an IoT system still require secure communication, which can be achieved by generating, exporting, and/or importing a self-signed certificate.

Important

  • Generating a self-signed certificate should only be done once. Creating another certificate causes devices using the previous one to lose HTTPS access.

  • Printers that use an IoT system do not need a self-signed certificate, as the IoT box generates it automatically.

  • For stable results, it is strongly recommended to use the Google Chrome browser to generate the self-signed certificate.

Note

To export self-signed certificates from an operating system or a web browser that is not mentioned in this documentation, search for export SSL certificate and the name of your browser or operating system in the preferred search engine. Similarly, to import self-signed certificates, search for import SSL certificate root authority in the preferred search engine.

Self-signed certificate generation

The generation process depends on the OS and the browser.

To generate a self-signed certificate on Google Chrome, follow the next steps:

  1. Open the browser, type the printer’s IP address in the search bar (e.g., https://192.168.1.25), and press Enter.

  2. On the security warning page, click Advanced, then Proceed to [IP address] (unsafe) to force the connection.

  3. On the EPSON platform, click Advanced Settings, then Administrator Login to log in to the printer’s homepage.

  4. Type the initial password located at the back of the printer in the Current Password field, then press Enter.

  5. Go to Network Security ‣ SSL/TLS ‣ Certificate.

  6. On the Certificate page, click Update under the Self-signed Certificate section.

  7. Adapt the Common Name field to retain only the IP address, then click Next, then OK. Wait for the printer’s lights to stop blinking.

Warning page about the connection privacy on Google Chrome

Note

The Epson homepage may vary depending on the printer model used. For the Epson TM-m30 ii, log in to the Epson homepage by typing epson as the username and the printer’s serial number as the password.

Self-signed certificate export

The export process depends on the OS and the browser.

To export the certificate, follow the next steps:

  1. Once the printer’s lights are solid, hover the mouse over the browser’s search bar and click Not secure, then Certificate details.

  2. Click the Details tab in the Certificate Viewer popover, then click Export.

  3. Add .crt next to the IP address in the File name field.

  4. Set the Save as type field to Base64-encoded ASCII, single certificate.

  5. Click Save.

Self-signed certificate import

The import process depends on the OS and the browser.

To import a self-signed certificate from Google Chrome:

  1. Open the browser.

  2. Go to Settings ‣ Privacy and security ‣ Security, and click Manage certificates.

  3. Click Manage imported certificates from Windows on the Certificate Manager page.

  4. Click Import in the Certificates popover.

  5. In the Certificate Import Wizard, click Next, then Browse to select the certificate, and click Next again.

  6. Select the Place all certificates in the following store option.

  7. Click Browse, select the Trusted Root Certification Authorities folder, and click OK.

  8. Click Next, then Finish.

  9. Click Yes in the Security Warning popover.

Note

To import a self-signed certificate using Mozilla Firefox on Windows, see the steps in the Linux tab.

Certificate import verification

To confirm the printer’s connection is secure, connect to its IP address using HTTPS. For example, navigate to https://192.168.1.25 in a browser. If the self-signed certificate has been applied correctly, no warning page appears, and the address bar should display a padlock icon, indicating a secure connection.