# Generating the CSR is done by a shell script
exe = os.path.join(os.path.dirname(__file__), 'gencsr')
csr = subprocess.check_output([exe, keyfilename] + domains)
# Generating the CSR is done by a shell script
exe = os.path.join(os.path.dirname(__file__), 'gencsr')
csr = subprocess.check_output([exe, keyfilename] + domains)
with open(csrfilename, 'wb') as file:
file.write(csr)
# call acme-tiny as a script
with open(csrfilename, 'wb') as file:
file.write(csr)
# call acme-tiny as a script