summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/ssl.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-09 14:52:35 +0100
committerlassulus <lassulus@lassul.us>2021-12-09 14:52:35 +0100
commitabd82c4faf8a882c72f4f19125a280d8d14f852f (patch)
tree6bccc24c243c1e66c18d8a99f883bdd59b347ab8 /krebs/3modules/ssl.nix
parentfba330ab36ed3f0c5f5b01a1c434ed9e8281846a (diff)
ca.r: serve ca.crt via nginx
Diffstat (limited to 'krebs/3modules/ssl.nix')
-rw-r--r--krebs/3modules/ssl.nix18
1 files changed, 1 insertions, 17 deletions
diff --git a/krebs/3modules/ssl.nix b/krebs/3modules/ssl.nix
index 5d28ac841..3a9b5d329 100644
--- a/krebs/3modules/ssl.nix
+++ b/krebs/3modules/ssl.nix
@@ -29,23 +29,7 @@ in {
intermediateCA = lib.mkOption {
type = lib.types.str;
readOnly = true;
- default = ''
- -----BEGIN CERTIFICATE-----
- MIICWzCCAcSgAwIBAgIQVavHn7XtM7NJ8bnph6hGoTANBgkqhkiG9w0BAQsFADCB
- gTELMAkGA1UEBhMCWloxEjAQBgNVBAgMCXN0YXRlbGVzczEQMA4GA1UECgwHS3Jl
- YnNjbzELMAkGA1UECwwCS00xFjAUBgNVBAMMDUtyZWJzIFJvb3QgQ0ExJzAlBgkq
- hkiG9w0BCQEWGHJvb3QtY2FAc3ludGF4LWZlaGxlci5kZTAeFw0yMTEyMDgxNTU5
- MDRaFw0yMTEyMDkxNTU5MDRaMBoxGDAWBgNVBAMTD0tyZWJzIEFDTUUgQ0EgMTBZ
- MBMGByqGSM49AgEGCCqGSM49AwEHA0IABDOK4g3pJPhOErk49zQgpNKE1cAyoeLp
- PqWXkHZVLIVg8CBzPyCYiHS8RtaJ1kwWxwo5OTypCDOLxf1isR5HgZOjgYAwfjAO
- BgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUv758
- A4RPewsRtgjdB6AE1tn632swHwYDVR0jBBgwFoAUinqtNfqwMKe8gF8M5cGQaNxB
- lS8wGAYDVR0eAQH/BA4wDKAKMAOCAXIwA4IBdzANBgkqhkiG9w0BAQsFAAOBgQAT
- ewOSGWGTCWcJFGSxgnt8/WspMERq1hL1PikwwVMp7wzJmbHcbA0Es4fcrE5Xf8vQ
- dGenlvyQjkQNahbsyGBoja7bpWpnw9qofLQkns1AZWp7q7GBqyKm30keM/E/stjH
- YkgY4QaxlIL+6N0f4nKL3RSf6GQ1hWJOHf+RrboaMw==
- -----END CERTIFICATE-----
- '';
+ default = builtins.readFile ../6assets/krebsAcmeCA.crt;
};
acmeURL = lib.mkOption {
type = lib.types.str;