X-Git-Url: https://v.licheni.net/stack/cam.git/blobdiff_plain/ad5c70b16614ae63bafe762e962583a08da502c2..2397de7d1d5a2617b9a72e087d4514c7203a3e21:/cam/ca.py diff --git a/cam/ca.py b/cam/ca.py index a19835f..f8a202f 100644 --- a/cam/ca.py +++ b/cam/ca.py @@ -169,7 +169,7 @@ class CA(object): csr_file = os.path.join(tmpdir, '%s.csr' % cert.name) conf_file = os.path.join(tmpdir, '%s.conf' % cert.name) ext_file = os.path.join(tmpdir, '%s-ext.conf' % cert.name) - conf = {} + conf = {'usage': 'client, server'} conf.update(self.config) conf['cn'] = cert.cn conf['days'] = cert.days or self.config['default_days']