Remove nonce_domain remaints from core.

This commit is contained in:
Jakub Warmuz 2015-07-31 22:54:25 +00:00
parent eacf658003
commit f96f059288
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

View file

@ -155,13 +155,13 @@ class Dvsni(object):
:rtype: str
"""
return os.path.join(
self.configurator.config.work_dir, achall.nonce_domain + ".crt")
return os.path.join(self.configurator.config.work_dir,
achall.chall.encode("token") + ".crt")
def get_key_path(self, achall):
"""Get standardized path to challenge key."""
return os.path.join(
self.configurator.config.work_dir, achall.nonce_domain + '.pem')
return os.path.join(self.configurator.config.work_dir,
achall.chall.encode("token") + '.pem')
def _setup_challenge_cert(self, achall, s=None):
# pylint: disable=invalid-name