diff --git a/ops/nixos/lib/quadv-ca/default.nix b/ops/nixos/lib/quadv-ca/default.nix new file mode 100644 index 0000000000..03ae8a34c2 --- /dev/null +++ b/ops/nixos/lib/quadv-ca/default.nix @@ -0,0 +1,8 @@ +{ lib, ... }: + +{ + security.pki.certificateFiles = lib.mkAfter [ + ./inter-internal-ecdsa.pem + ./inter-internal-rsa.pem + ]; +} diff --git a/ops/nixos/lib/quadv-ca/inter-internal-ecdsa.pem b/ops/nixos/lib/quadv-ca/inter-internal-ecdsa.pem new file mode 100644 index 0000000000..d3690ab11a --- /dev/null +++ b/ops/nixos/lib/quadv-ca/inter-internal-ecdsa.pem @@ -0,0 +1,16 @@ +-----BEGIN CERTIFICATE----- +MIICmDCCAh6gAwIBAgIUQ5HT70G8oQzrLGh1nz4ph9rhmzIwCgYIKoZIzj0EAwMw +PzELMAkGA1UEBhMCR0IxDjAMBgNVBAoTBVF1YWRWMSAwHgYDVQQDExdRdWFkViBJ +bnRlcm5hbCBDQSBFQ0RTQTAeFw0yMzA5MDMxMDA3MDBaFw0yNTA5MDIxMDA3MDBa +MEYxCzAJBgNVBAYTAkdCMQ4wDAYDVQQKEwVRdWFkVjEnMCUGA1UEAxMeUXVhZFYg +VExTIEludGVybmFsIFN1YkNBIEVDRFNBMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE +N1PBlyyQwGtDlg+fAJEsY+U/kmyO6pZNOk9WrVEskq6L2P+Bs5zAPH6/LLIlQ4iV +0O6p5y2hO4ghs0iD0tzQ9AG8p/WE1N+Wbh9WYnh9V/7/EnD+f22+A5t8WMKje3v7 +o4HTMIHQMA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYB +BQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUOFcXoWTZxavVFevp +jkfsBrlHS6owHwYDVR0jBBgwFoAUmLiFn3kQy0KkkX5/YRxIbUrsv+8wSwYDVR0e +AQH/BEEwP6A9MAuCCXF1YWR2Lm5ldDAKhwgKAAAA/wAAADAKhwisEAAA///wADAK +hwjAqAAA//8AADAKhwip/gAA//8AADAKBggqhkjOPQQDAwNoADBlAjEAuCYUzqzX +nMwKi9y70SBXTVbI40QL5+oemr0Ay0Si0cCa+OZy3zLHQJlrAnhB+ZCEAjAj8gth +dRVPlyTrnUbEUi3mqFPdrQiUGC23NN7hbLyciqCCxFtrv/T+Jmui38SfnBg= +-----END CERTIFICATE----- diff --git a/ops/nixos/lib/quadv-ca/inter-internal-rsa.pem b/ops/nixos/lib/quadv-ca/inter-internal-rsa.pem new file mode 100644 index 0000000000..fa6e08629a --- /dev/null +++ b/ops/nixos/lib/quadv-ca/inter-internal-rsa.pem @@ -0,0 +1,34 @@ +-----BEGIN CERTIFICATE----- +MIIF4zCCA8ugAwIBAgIUdwKo7cpFivdWYG3c+TTgDel8mhgwDQYJKoZIhvcNAQEN +BQAwPTELMAkGA1UEBhMCR0IxDjAMBgNVBAoTBVF1YWRWMR4wHAYDVQQDExVRdWFk +ViBJbnRlcm5hbCBDQSBSU0EwHhcNMjMwOTAzMTAwNzAwWhcNMjUwOTAyMTAwNzAw +WjBEMQswCQYDVQQGEwJHQjEOMAwGA1UEChMFUXVhZFYxJTAjBgNVBAMTHFF1YWRW +IFRMUyBJbnRlcm5hbCBTdWJDQSBSU0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw +ggIKAoICAQCyJC4s7hQpZtBaiqD6m9Nvnhx0CX5CO2h0yeQIY/gGMRLReI4rtjb0 +GcaZN79DtxH9UP9YVYn/Hq/GcpFkxTnwgy/Fg7NPtu4GROCJW7mBjgYqnY5ipdQU +3zMdxXtoFSVdELIq7/bc4rEKdbgrzjz0YFzYogKXHrzgcZYaOz6T41AXPGPEzrni +fveStwb46B/5unViod8s5sxDYBthtaFcRyNLwr+40fO878TvPPEFXsPDyfoMnfse +n7h77cJBVQwD2Q+O7lMTmmGoTw9BOeg8N3FToNPGyAhYwHBDoxVujIYFJaInb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kM/39OhaSyn8Zd9HNSMwIquymGwZHiqBja4aaek3OTWiB6LYcf0aKWKl +3yds7sP8+SPHYFT5Z+y/YQOlkjeLGWyLjk8PuWz2I1r1IHly2j0c5JSaSU1p5j3J +iZ+H3y6kWErzZqqnnrRCti/+K5Kjo0q1DWVXRGwvDitCq425t/hlcMKFgQx9xMpX +E7EXwJ58Zm90zx97xgDUg+/9148emljF73g42i5Yc8qiN/YSIfJ0cLAWbWxaXxbf +sBjb8/FEV9DGx4kYne9He2NlVmrbV1ggQ0YJeoyOlzldL82Q7UywHqFSxAlj8cwB +WE144oJ9KiITegM5EFAsYqsszTV+7m0= +-----END CERTIFICATE----- diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index a95ebeae1f..5a9c316032 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -27,6 +27,7 @@ in { ../lib/graphical-client-x11.nix ../lib/plasma.nix ../lib/whitby-distributed.nix + ../lib/quadv-ca/default.nix ]; boot.initrd.availableKernelModules = [