GNU bug report logs - #42544
openvpn service requires cert and key configuration

Previous Next

Package: guix;

Reported by: david larsson <david.larsson <at> selfhosted.xyz>

Date: Sun, 26 Jul 2020 04:54:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: david larsson <david.larsson <at> selfhosted.xyz>
To: guix-patches <at> gnu.org
Subject: bug#42544: [PATCH]: gnu: services: Make some openvpn options optional to include in the openvpn config file.
Date: Fri, 31 Jul 2020 23:44:51 +0000
From 5014aa2f455b127deaa013f327dc1cc42d0e1772 Mon Sep 17 00:00:00 2001
From: David Larsson <david.larsson <at> selfhosted.xyz>
Date: Sat, 1 Aug 2020 00:16:02 +0200
Subject: [bug#42544] [PATCH]: gnu: services: Make some openvpn options
 optional to include in the openvpn config file.

* gnu/services/vpn.scm (openvpn-client-configuration) 
(openvpn-server-configuration): Change cert and key options to type 
maybe-string.
---
 gnu/services/vpn.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index 658d5c3e88..6155fd7938 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2017 Julien Lepiller <julien <at> lepiller.eu>
 ;;; Copyright © 2017 Clément Lassieur <clement <at> lassieur.org>
 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe <at> gmail.com>
+;;; Copyright © 2020 David Larsson <david.larsson <at> selfhosted.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -277,12 +278,12 @@ servers.")
     "The certificate authority to check connections against.")

    (cert
-    (string "/etc/openvpn/client.crt")
+    (maybe-string 'disabled)
     "The certificate of the machine the daemon is running on. It should 
be signed
 by the authority given in @code{ca}.")

    (key
-    (string "/etc/openvpn/client.key")
+    (maybe-string 'disabled)
     "The key of the machine the daemon is running on. It must be the 
key whose
 certificate is @code{cert}.")

-- 
2.18.0




This bug report was last modified 4 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.