From b97d78d7bcae8ec1aad77bc8bf5941281203f1d2 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 16 Sep 2015 16:30:50 +0300 Subject: Bump cert expiration to 1 year --- install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.py b/install.py index 4b04980..a9808bc 100755 --- a/install.py +++ b/install.py @@ -69,6 +69,8 @@ subj = "/C=%s/ST=%s/L=%s/O=%s/OU=%s/CN=%s" % ( args['hostname'] ) -call(['openssl', 'req', '-nodes', '-x509', '-newkey', 'rsa:2048', '-subj', subj, '-keyout', 'servo.key', '-out', 'servo.crt']) +call(['openssl', 'req', '-nodes', '-x509', '-newkey', 'rsa:2048', + '-days', '365', '-subj', subj, + '-keyout', 'servo.key', '-out', 'servo.crt']) print("Your Servo installation is ready for action at https://%s" % args['hostname']) -- cgit v1.2.3