From 79a0f9314435465b9f951788c861358c8681c1c4 Mon Sep 17 00:00:00 2001 From: Yunohost Date: Sun, 23 Jun 2013 19:09:30 +0200 Subject: [PATCH] update ca certs at postinstall --- yunohost_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yunohost_tools.py b/yunohost_tools.py index db6ac62c..67462d0c 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -195,7 +195,8 @@ def tools_postinstall(domain, password, dyndns=False): 'rm '+ ssl_dir +'/index.txt', 'touch '+ ssl_dir +'/index.txt', 'openssl req -x509 -new -config '+ ssl_dir +'/openssl.cnf -days 3650 -out '+ ssl_dir +'/ca/cacert.pem -keyout '+ ssl_dir +'/ca/cakey.pem -nodes -batch', - 'cp '+ ssl_dir +'/ca/cacert.pem /etc/ssl/certs/ca-yunohost_crt.pem' + 'cp '+ ssl_dir +'/ca/cacert.pem /etc/ssl/certs/ca-yunohost_crt.pem', + 'update-ca-certificates' ] for command in command_list: