aboutsummaryrefslogtreecommitdiffstats
path: root/install.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-09-16 16:30:50 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-09-16 16:30:50 +0300
commitb97d78d7bcae8ec1aad77bc8bf5941281203f1d2 (patch)
tree75c6035a18d5c104003e8cb73b132782ccb480d9 /install.py
parent83204c28515fa5f4d965e5767ffd56c2a8772819 (diff)
downloadServo-b97d78d7bcae8ec1aad77bc8bf5941281203f1d2.tar.gz
Servo-b97d78d7bcae8ec1aad77bc8bf5941281203f1d2.tar.bz2
Servo-b97d78d7bcae8ec1aad77bc8bf5941281203f1d2.zip
Bump cert expiration to 1 year
Diffstat (limited to 'install.py')
-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'])