generation of self-signed certs

fixes #77