User asked for TLS client certificate based login from DTU to MQTT
server. This PR implements storage and use of x509 client certificate
and private key.
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
If the return value of a API request equals 401 then the user will be redirected to the login page.
Using this method it's possible to decided within the API if a authentication is needed or not.