aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall.py4
1 files changed, 3 insertions, 1 deletions
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'])