diff --git a/slapos/recipe/certificate_authority/certificate_authority.py b/slapos/recipe/certificate_authority/certificate_authority.py index a4af4ab76df89af085dd779e12b5d1a64af37ff6..d6e629f76c02d4b0353f539663d28d43990bdf16 100644 --- a/slapos/recipe/certificate_authority/certificate_authority.py +++ b/slapos/recipe/certificate_authority/certificate_authority.py @@ -2,6 +2,7 @@ import os import subprocess import time import ConfigParser +import uuid def popenCommunicate(command_list, input=None): @@ -44,7 +45,7 @@ class CertificateAuthority: popenCommunicate([self.openssl_binary, 'req', '-nodes', '-config', self.openssl_configuration, '-new', '-x509', '-extensions', 'v3_ca', '-keyout', self.key, '-out', self.certificate, - '-days', '10950'], 'Automatic Certificate Authority\n') + '-days', '10950'], 'Certificate Authority %s\n' % uuid.uuid1()) except: try: for f in file_list: