For some reason the openssl.cnf file shipped in data/openssl.cnf is not being honored:
def gen_selfsigned_cert(cert_file, key_file):
...
subprocess.call(
['openssl', 'req', '-new', '-x509', '-nodes', '-config', os.path.join(os.environ['CHARM_DIR'], 'data', 'openssl.cnf'),
'-keyout', key_file, '-out', cert_file],)
A quick dirty fix is to add '-days', '3650' to the command line.
For some reason the openssl.cnf file shipped in data/openssl.cnf is not being honored: cert(cert_ file, key_file): call(
os.path. join(os. environ[ 'CHARM_ DIR'], 'data', 'openssl.cnf'),
def gen_selfsigned_
...
subprocess.
['openssl', 'req', '-new', '-x509', '-nodes', '-config',
'-keyout', key_file, '-out', cert_file],)
A quick dirty fix is to add '-days', '3650' to the command line.