Browse Source

Fixes to v-change-sys-hestia-ssl

Remove old SSL certificates when applying new ones
Kristan Kenney 6 years ago
parent
commit
6b45eceda6
1 changed files with 0 additions and 4 deletions
  1. 0 4
      bin/v-change-sys-hestia-ssl

+ 0 - 4
bin/v-change-sys-hestia-ssl

@@ -49,10 +49,6 @@ else
     is_web_domain_cert_valid
 fi
 
-# Moving old certificate
-mv $HESTIA/ssl/certificate.crt $HESTIA/ssl/certificate.crt.back
-mv $HESTIA/ssl/certificate.key $HESTIA/ssl/certificate.key.back
-
 # Adding new certificate
 cp -f $ssl_dir/certificate.crt $HESTIA/ssl/certificate.crt
 cp -f $ssl_dir/certificate.key $HESTIA/ssl/certificate.key