mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
update ca certs at postinstall
This commit is contained in:
parent
2dec6f7d9e
commit
79a0f93144
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@ def tools_postinstall(domain, password, dyndns=False):
|
||||||
'rm '+ ssl_dir +'/index.txt',
|
'rm '+ ssl_dir +'/index.txt',
|
||||||
'touch '+ 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',
|
'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:
|
for command in command_list:
|
||||||
|
|
Loading…
Reference in a new issue