diff options
| author | Trevor Arjeski <tmarjeski@gmail.com> | 2025-09-29 09:18:26 +0300 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-29 15:28:08 +0200 |
| commit | b4b4be47cba3066d3ab5de7dbc6cb0ee3803e237 (patch) | |
| tree | 6f352fad9f88510696f956813495e90bf4806e65 | |
| parent | c7b7089963f2121e98e43bbf0838de305aad3b4b (diff) | |
services: tor: Add nss-certs.
When using a tor-transport-plugin, namely a webtunnel with lyrebird, it is
necessary to have access to ssl certs to establish a connection to the bridge
over https.
* gnu/services/networking.scm (tor-shepherd-service): add nss-certs
file-sytem-mapping
Change-Id: Ifb7488d406cc6300eb6ac95e7dc0dfef0ff571db
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | gnu/services/networking.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index 646c8620409..c15adc23baa 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm | |||
| @@ -64,6 +64,7 @@ | |||
| 64 | #:use-module (gnu packages usb-modeswitch) | 64 | #:use-module (gnu packages usb-modeswitch) |
| 65 | #:use-module (gnu packages messaging) | 65 | #:use-module (gnu packages messaging) |
| 66 | #:use-module (gnu packages networking) | 66 | #:use-module (gnu packages networking) |
| 67 | #:use-module (gnu packages nss) | ||
| 67 | #:use-module (gnu packages ntp) | 68 | #:use-module (gnu packages ntp) |
| 68 | #:use-module (gnu packages gnome) | 69 | #:use-module (gnu packages gnome) |
| 69 | #:use-module (gnu packages ipfs) | 70 | #:use-module (gnu packages ipfs) |
| @@ -1307,7 +1308,13 @@ HiddenServicePort ~a ~a~%" | |||
| 1307 | (writable? #t)) | 1308 | (writable? #t)) |
| 1308 | (file-system-mapping | 1309 | (file-system-mapping |
| 1309 | (source torrc) | 1310 | (source torrc) |
| 1310 | (target source))) | 1311 | (target source)) |
| 1312 | |||
| 1313 | ;; Transport plugins like the lyrebird | ||
| 1314 | ;; webtunnel need X.509 certificates. | ||
| 1315 | (file-system-mapping | ||
| 1316 | (source (file-append nss-certs "/etc/ssl/certs")) | ||
| 1317 | (target "/etc/ssl/certs"))) | ||
| 1311 | (map (lambda (plugin) | 1318 | (map (lambda (plugin) |
| 1312 | (file-system-mapping | 1319 | (file-system-mapping |
| 1313 | (source (tor-plugin-program plugin)) | 1320 | (source (tor-plugin-program plugin)) |
