Self-signed certificate for ePOS printers

Estimated reading: 4 minutes 221 views

Some ePOS printers that work with Odoo POS without an IoT system need an HTTPS connection between the browser and the printer. Because the printer’s certificate is not trusted by default, browsers show a warning. A self-signed certificate for your ePOS printer, imported into each device, fixes this permanently.

Temporary workaround

  1. In the browser, go to the printer’s IP address using HTTPS, for example https://192.168.1.25.
  2. On the warning page, click Advanced, then Proceed to [IP address] (unsafe).

The printer then works in Odoo until you close the browser window. Use this only as a stopgap or as the first step below.

How to generate a self-signed certificate

Do this once only. A new certificate stops other devices using the old one from connecting over HTTPS.

  1. Open the printer’s IP address and force the connection as above.
  2. Sign in to the printer settings with epson as the ID and the printer’s serial number as the Password.
  3. In Authentication, click Certificate List, then create.
  4. Check the Common Name is the printer’s IP address, choose a Validity Period and click Create.
  5. Click Reset or restart the printer.
  6. Reload the page, open SSL/TLS in the Security section and check Selfsigned Certificate is selected as the Server Certificate.

How to export the certificate

Google Chrome

  1. Click Not secure next to the address bar, then Certificate is not valid.
  2. On the Details tab, click Export.
  3. Add .crt to the file name and select Base64-encoded ASCII, single certificate, then save.

Mozilla Firefox

  1. Click the lock icon, then Connection not secure > More information > Security > View certificate.
  2. In Miscellaneous, click PEM (cert) under Download and save.

How to import the certificate

  • Windows 10: right-click the file, click Install Certificate, choose Current User or Local Machine, select Place all certificates in the following store and browse to Trusted Root Certification Authorities. Click Finish and restart the computer.
  • Linux, Chrome: go to Settings > Privacy and security > Security > Manage certificates, open Local certificates, click Installed by you, then Import next to Trusted Certificates. Restart the browser.
  • Linux, Firefox: go to Settings > Privacy & Security > Security > View Certificates, open Servers, click Add Exception, enter the printer’s IP address, click Get Certificate, tick Permanently store this exception and restart the browser.
  • macOS: open the printer’s IP address in Safari, go to Show Details > visit this website > Visit Website, confirm, then reboot the printer. This secures the connection for all browsers.
  • Android: copy the .crt file to the device, search the settings for certificate and install it from device storage. Steps vary by manufacturer.
  • iOS: send the .crt file to the device, allow the profile download, then install it from Profile Downloaded in Settings. Finally, enable it in Settings > General > About > Certificate Trust Settings.

Check the certificate works

Browse to the printer’s IP address with https://. If no warning appears and the address bar shows a padlock, the connection is secure and the printer is ready for the POS.

Frequently asked questions

Why does my browser show a warning when I open the printer’s IP address?

The printer uses a certificate your browser does not trust yet. Importing the printer’s self-signed certificate as a trusted certificate removes the warning.

Can I generate a new certificate if something goes wrong?

Generate the certificate only once where possible. Creating a new one means every device that used the previous certificate loses HTTPS access until the new one is imported.

How do I know the certificate works?

Open the printer’s IP address with https:// in the browser. If there is no warning page and the address bar shows a padlock, the connection is secure.

Do I need to do this on every device?

Yes. Each computer, tablet or phone running the POS must trust the certificate, so import it on every device that prints to the ePOS printer.

Need help?

Need help getting ePOS printers working with Odoo Point of Sale? 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