diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-05-26 06:45:25 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-05-26 06:45:25 +0300 |
commit | 2966068968c4fbee0cc8bb7ecebf17872a30725c (patch) | |
tree | 82f34a4f82155133cc4c0f7b162d4d38c32d5937 /nixos/modules/services/networking/ddclient.nix | |
parent | f93a8ee1105f4cc3770ce339a8c1a4acea3b2fb6 (diff) | |
download | nixpkgs-2966068968c4fbee0cc8bb7ecebf17872a30725c.tar nixpkgs-2966068968c4fbee0cc8bb7ecebf17872a30725c.tar.gz nixpkgs-2966068968c4fbee0cc8bb7ecebf17872a30725c.tar.bz2 nixpkgs-2966068968c4fbee0cc8bb7ecebf17872a30725c.tar.lz nixpkgs-2966068968c4fbee0cc8bb7ecebf17872a30725c.tar.xz nixpkgs-2966068968c4fbee0cc8bb7ecebf17872a30725c.tar.zst nixpkgs-2966068968c4fbee0cc8bb7ecebf17872a30725c.zip |
ddclient: Set SSL_CERT_FILE environment variable
Otherwise connection to SSL hosts fails like this: May 26 06:44:05 kbuilder ddclient[17084]: WARNING: cannot connect to dynamicdns.park-your-domain.com:443 socket: IO::Socket::IP configuration failed SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Diffstat (limited to 'nixos/modules/services/networking/ddclient.nix')
-rw-r--r-- | nixos/modules/services/networking/ddclient.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/ddclient.nix b/nixos/modules/services/networking/ddclient.nix index 92f6396b358..5802d8b95b3 100644 --- a/nixos/modules/services/networking/ddclient.nix +++ b/nixos/modules/services/networking/ddclient.nix @@ -126,6 +126,8 @@ in description = "Dynamic DNS Client"; wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; + + environment.SSL_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt"; serviceConfig = { # Uncomment this if too many problems occur: # Type = "forking"; |