fix defaults and use the cert from ssl-cert

fixes #11