This commit fixes some minor issues with self signed certificates. On
the way to that fix, some other issues were fixed, which I can't
remember.
This also adds a couple of log output to make it easier to understand,
what actually happens in the daemon.
The parameters weren't used because of using the package instead of the
variable.
Also the output of the show-cert option was adjusted because of the long
hash. There needs to be a better solution for that.
This commit adds basic support for adding, deleting, ... locations. This
needed a bit of rework for the ResourceName, as it was kind of stupid to
have different implementations server internally and in the lib.
There is still some need for cleanup, but it works basically.
The basic server and client are working and it is possible to add, list,
show, set and remove subjects.
Locations are not yet written to the filesystem yet and need to be
fixed.