Procházet zdrojové kódy

Update ca certs after restore

Bob Mottram před 8 roky
rodič
revize
a2e1db68e1
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 1
    0
      src/freedombone-restore-local
  2. 1
    0
      src/freedombone-restore-remote

+ 1
- 0
src/freedombone-restore-local Zobrazit soubor

@@ -638,6 +638,7 @@ function restore_certs {
638 638
             exit 276
639 639
         fi
640 640
         rm -rf /root/tempssl
641
+        update-ca-certificates
641 642
 
642 643
         # restore ownership
643 644
         if [ -f /etc/ssl/private/xmpp.key ]; then

+ 1
- 0
src/freedombone-restore-remote Zobrazit soubor

@@ -570,6 +570,7 @@ function restore_certs {
570 570
             exit 276
571 571
         fi
572 572
         rm -rf /root/tempssl
573
+        update-ca-certificates
573 574
 
574 575
         # restore ownership
575 576
         if [ -f /etc/ssl/private/xmpp.key ]; then