Skip to content

Commit 7c0c6c4

Browse files
qle-odoojcs-odoo
authored andcommitted
[ADD] point_of_sale: self-signed certificate for epos printers
Add documentation to explain how to use a ePos printer in HTTPS closes #1307 X-original-commit: f8f93ec Signed-off-by: Castillo Jonathan (jcs) <[email protected]>
1 parent bbc85e1 commit 7c0c6c4

File tree

5 files changed

+96
-1
lines changed

5 files changed

+96
-1
lines changed

content/applications/sales/point_of_sale/overview.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ Overview
1010
overview/getting_started
1111
overview/register
1212
overview/https
13+
overview/epos_ssc
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
=========================================
2+
Self-signed certificate for ePOS printers
3+
=========================================
4+
5+
ePos printers are designed specifically to work with your Point of Sale system, which sends the
6+
tickets directly to the printer.
7+
8+
Some models don't require an IoT box, but the connection between your web browser and the printer
9+
may require a :doc:`secure connection with the HTTPS protocol <https>`. If so, a self-signed
10+
certificate is necessary to use your printer.
11+
12+
.. note::
13+
Please check the following list of compatible `Epson ePOS printers
14+
<https://c4b.epson-biz.com/modules/community/index.php?content_id=91>`_. This list includes the
15+
following models:
16+
17+
- TM-H6000IV-DT (Receipt printer only)
18+
- TM-T70II-DT
19+
- TM-T88V-DT
20+
- TM-L90-i
21+
- TM-T20II-i
22+
- TM-T70-i
23+
- TM-T82II-i
24+
- TM-T83II-i
25+
- TM-T88V-i
26+
- TM-U220-i
27+
- TM-m10
28+
- TM-m30
29+
- TM-P20 (Wi-Fi® model)
30+
- TM-P60II (Receipt: Wi-Fi® model)
31+
- TM-P60II (Peeler: Wi-Fi® model)
32+
- TM-P80 (Wi-Fi® model)
33+
34+
Generate a Self-signed certificate
35+
==================================
36+
37+
Access your ePOS printer's settings with your web browser by navigating to its IP address, for
38+
example, `http://192.168.1.25`.
39+
40+
.. note::
41+
- The printer automatically prints the IP address during startup.
42+
- We recommend assigning a **fixed IP address** to the printer from the network router.
43+
44+
Go to :menuselection:`Authentication --> Certificate List` and create a new **Self-Signed
45+
Certificate**.
46+
47+
- **Common Name**: the IP address of the ePos Printer, for example, `192.168.1.25`
48+
- **Validity Period**: `10`
49+
50+
Create and reboot the printer, go to :menuselection:`Security --> SSL/TLS`, and check if
51+
**Selfsigned Certificate** is selected.
52+
53+
Export the Self-signed certificate
54+
==================================
55+
56+
To avoid having to accept the self-signed certificate several times, you can export it and then
57+
import it to your web browser or mobile device.
58+
59+
To do so, access your ePOS printer's settings with your web browser by navigating to its IP address,
60+
for example, `https://192.168.1.25`. Then, accept the self-signed certificate.
61+
62+
.. note::
63+
Note that the protocol is now **HTTPS**.
64+
65+
Click on :menuselection:`Not secure --> Certificate is not valid`.
66+
67+
.. image:: epos_ssc/browser-warning.png
68+
:align: center
69+
:alt: The web browser indicates that the connection to the printer is not secure.
70+
71+
Go to the *Details* tab and click on **Export**.
72+
73+
.. image:: epos_ssc/certificate-details.png
74+
:align: center
75+
:alt: Details of the ePOS printer certificate
76+
77+
Import the Self-signed certificate to your browser (Chrome)
78+
===========================================================
79+
80+
In your Chrome browser, go to :menuselection:`Settings --> Privacy and security --> Security -->
81+
Manage certificates`, then open the *Authorities* tab, click on **Import**, and select all
82+
functionalities of the certificate.
83+
84+
.. tip::
85+
You can directly access these settings by navigating to `chrome://settings/certificates`.
86+
87+
Import the Self-signed certificate to your Android device
88+
=========================================================
89+
90+
On your Android device, open the settings and search for *certificate*. Then, click on **Certificate
91+
AC** (Install from device storage), and select the certificate.
17.4 KB
Loading
13.4 KB
Loading

content/applications/sales/point_of_sale/overview/https.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ Technical --> Parameters --> System Parameters`, then create a new parameter, ad
1616
values and click on *Save*.
1717

1818
- **Key**: `point_of_sale.enforce_https`
19-
- **Value**: `True`
19+
- **Value**: `True`
20+
21+
.. seealso::
22+
- :doc:`epos_ssc`

0 commit comments

Comments
 (0)