Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035847Retail ModulesWeb POS Hardware Managerpublic2017-04-22 05:262017-04-27 12:16
rbianchini 
jorge-garcia 
normalcriticalhave not tried
closedfixed 
5
RR16Q2.2 
RR16Q4.3RR16Q4.3 
marvintm
No
0035847: Chrome Version 58.0.3029.81 (64-bit) doesn't accept the .pem file generated by Hardware Manager
The new chrome version return the error: NET::ERR_CERT_COMMON_NAME_INVALID using the .pem file generateb by hardware manager.
1 - Generate the file ca-certificate.pem using Hardware manager following this steps http://wiki.openbravo.com/wiki/Retail:Hardware_and_Peripherals_Installation#Using_a_self-signed_certificate [^]
2 - Install the last chrome version: 58.0.3029.81 (64-bit)
3 - Realize that the Hardware manager can't establish connection with POS
No tags attached.
blocks defect 0035817 closed adrianromero Chrome Version 58.0.3029.81 (64-bit) doesn't accept the .pem file generated by Hardware Manager 
Issue History
2017-04-26 13:22marvintmTypedefect => backport
2017-04-26 13:22marvintmTarget Version => RR16Q4.3
2017-04-27 08:58hgbotCheckin
2017-04-27 08:58hgbotNote Added: 0096205
2017-04-27 08:58hgbotStatusscheduled => resolved
2017-04-27 08:58hgbotResolutionopen => fixed
2017-04-27 08:58hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager.sources/rev/1317920cdb885dbea0e0bb5242f9006ef81918c1 [^]
2017-04-27 09:01hgbotCheckin
2017-04-27 09:01hgbotNote Added: 0096206
2017-04-27 09:33jorge-garciaAssigned ToRetail => jorge-garcia
2017-04-27 12:03hgbotCheckin
2017-04-27 12:03hgbotNote Added: 0096219
2017-04-27 12:03hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager.sources/rev/1317920cdb885dbea0e0bb5242f9006ef81918c1 [^] => http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager.sources/rev/6fbcb60f268a5d410933b7bace299f040b422059 [^]
2017-04-27 12:04hgbotCheckin
2017-04-27 12:04hgbotNote Added: 0096220
2017-04-27 12:16marvintmReview Assigned To => marvintm
2017-04-27 12:16marvintmStatusresolved => closed
2017-04-27 12:16marvintmFixed in Version => RR16Q4.3

Notes
(0096205)
hgbot   
2017-04-27 08:58   
Repository: retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager.sources
Changeset: 1317920cdb885dbea0e0bb5242f9006ef81918c1
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Apr 27 08:57:33 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager.sources/rev/1317920cdb885dbea0e0bb5242f9006ef81918c1 [^]

Fixes issue 35847: Chrome Version 58.0.3029.81 (64-bit) doesn't accept the .pem file generated by Hardware Manager

* The generated selfsigned certificate now includes the hostname in subjectAltName extended properties that is accepted by Chrome

---
M project/src/com/openbravo/poshw/GenerateCertificate.java
---
(0096206)
hgbot   
2017-04-27 09:01   
Repository: retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager
Changeset: 362371ca1d2059c6f4c4d52b64dda80968511346
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Apr 27 09:00:30 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager/rev/362371ca1d2059c6f4c4d52b64dda80968511346 [^]

Related to issue 35847: Chrome Version 58.0.3029.81 (64-bit) doesn't accept the .pem file generated by Hardware Manager

Cimpiled hardware manager with last changes.

---
M bin/poshw.jar
M bin/rev.id
---
(0096219)
hgbot   
2017-04-27 12:03   
Repository: retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager.sources
Changeset: 6fbcb60f268a5d410933b7bace299f040b422059
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Apr 27 12:02:43 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager.sources/rev/6fbcb60f268a5d410933b7bace299f040b422059 [^]

Fixes issue 35847: Chrome Version 58.0.3029.81 (64-bit) doesn't accept the .pem file generated by Hardware Manager

* Forces to generate the rsa key with 2048 bits and use the signing algorithm SHA256

---
M project/src/com/openbravo/poshw/GenerateCertificate.java
---
(0096220)
hgbot   
2017-04-27 12:04   
Repository: retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager
Changeset: 6e3a71ef1a8a5d5d7fee1d6e658dad39ade9f487
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Apr 27 12:04:06 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.poshwmanager/rev/6e3a71ef1a8a5d5d7fee1d6e658dad39ade9f487 [^]

Related to issue 35847: Chrome Version 58.0.3029.81 (64-bit) doesn't accept the .pem file generated by Hardware Manager

* Compile hardware manager with the new changes.

---
M bin/poshw.jar
M bin/rev.id
---