summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2008-11-18 10:56:37 -0500
committerAdrian Likins <alikins@redhat.com>2008-11-18 10:56:37 -0500
commitc95655b5cb63caf9428898c56ef5cb26d118a678 (patch)
tree65c358be673755347eb4f878114ac4dd5585356b
parent48b1e96d3c66a1a733ca573505e7203651142308 (diff)
downloadcertmaster-c95655b5cb63caf9428898c56ef5cb26d118a678.zip
certmaster-c95655b5cb63caf9428898c56ef5cb26d118a678.tar.gz
certmaster-c95655b5cb63caf9428898c56ef5cb26d118a678.tar.xz
removed unneed line that reset the requesting_host
-rwxr-xr-xcertmaster/certmaster.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/certmaster/certmaster.py b/certmaster/certmaster.py
index e3abf39..e4a3d17 100755
--- a/certmaster/certmaster.py
+++ b/certmaster/certmaster.py
@@ -234,7 +234,6 @@ class CertMaster(object):
self._run_triggers(requesting_host,'/var/lib/certmaster/triggers/sign/pre/*')
- requesting_host = self._sanitize_cn(csrreq.get_subject().CN)
certfile = '%s/%s.cert' % (self.cfg.certroot, requesting_host)
self.logger.info("Signing for csr %s requested" % certfile)
thiscert = certs.create_slave_certificate(csrreq, self.cakey, self.cacert, self.cfg.cadir)