public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] backup: Update OpenVPN CRL
@ 2022-10-07 14:50 Michael Tremer
  2022-10-07 14:50 ` [PATCH 2/2] openvpnctrl: Update CRL before starting the client daemon Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tremer @ 2022-10-07 14:50 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

After a backup is restored, the CRL might be out of data and client
won't be able to connect to the server any more.

This will immediately update the CRL should it require an update.

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 config/backup/backup.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/config/backup/backup.pl b/config/backup/backup.pl
index 54957a814..6fd9e45bb 100644
--- a/config/backup/backup.pl
+++ b/config/backup/backup.pl
@@ -184,6 +184,9 @@ restore_backup() {
 	# move nobeeps if exist
 	[ -e "/var/ipfire/ppp/nobeeps" ] && mv /var/ipfire/ppp/nobeeps /var/ipfire/red/nobeeps
 
+	# Update OpenVPN CRL
+	/etc/fcron.daily/openvpn-crl-updater
+
 	return 0
 }
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-07 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-07 14:50 [PATCH 1/2] backup: Update OpenVPN CRL Michael Tremer
2022-10-07 14:50 ` [PATCH 2/2] openvpnctrl: Update CRL before starting the client daemon Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox