bmartin5692 / bumper

A standalone and self-hosted implementation of the central server used by Ecovacs vacuum robots.
GNU General Public License v3.0
273 stars 48 forks source link

Create certs (go) uses always the same serial number #117

Open edenhaus opened 3 years ago

edenhaus commented 3 years ago

Create certs uses always the same serial number and this leads to some errors when you recreate new certs before the old ones expire. Firefox will blocks the connection with the new certs as the old one is still in the cert store and both have the same serial number.

Workaround:

Probably this issue exists also in other browser, but I havn't test it.

Below the corresponding source code line:

https://github.com/bmartin5692/bumper/blob/9b1ae262a807ad9fe09b33841ba7054b23c91453/create_certs/src/create_certs.go#L92