looks good indeed. Needs some testing, but thanx!
@ the issue in this topic: I had this error as well … it went away when I used another browser. Seems to be a certificate cache issue, possibly to do with how Firefox handles stapling, or how Nethserver does.
Different firefox works fine, perhaps I needed to restart the browser, and perhaps this might be your issue as well … of not, I sadly can not be of help.