Self-signed certificate for ePOS printers

To work with Odoo, some printer models that can be used without an IoT box 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 leads to a warning page on most web browsers. In that case, you can temporarily force the connection, which allows you to reach the page in HTTPS and use the ePOS printer in Odoo as long as the browser window stays open.

Warning

The connection is lost after closing the browser window. Therefore, this method should only be used as a workaround or as a pre-requisite for the following instructions.

Generate, export, and import self-signed certificates

For a long-term solution, you must generate a self-signed certificate. Then, export and import it into your browser.

Important

Generating an SSL certificate should only be done once. If you create another certificate, devices using the previous one will lose HTTPS access.

Navigate to the ePOS’ IP address (e.g., https://192.168.1.25) and force the connection by clicking Advanced and Proceed to [IP address] (unsafe).

warning page about the connection privacy on Google Chrome

Warning page on Google Chrome, Windows 10

Then, sign in using your printer credentials to access the ePOS printer settings. To sign in, enter epson in the ID field and your printer serial number in the Password field.

Click Certificate List in the Authentication section, and click create to generate a new Self-Signed Certificate. The Common Name should be automatically filled out. If not, fill it in with the printer IP address number. Select the years the certificate will be valid in the Validity Period field, click Create, and Reset or manually restart the printer.

The self-signed certificate is generated. Reload the page and click SSL/TLS in the Security section to ensure Selfsigned Certificate is correctly selected in the Server Certificate section.

Important

  • If you need to export SSL certificates from an operating system or web browser that has not been mentioned, search for export SSL certificate + the name of your browser or operating system in your preferred search engine.

  • Similarly, to import SSL certificates from an unmentioned OS or browser, search for import SSL certificate root authority + the name of your browser or operating system in your preferred search engine.

Check if the certificate was imported correctly

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