From 6703dc9de988247f626b0bb545ff35dd9b2f4a66 Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 21 Sep 2023 09:31:14 +0300 Subject: [PATCH] Place MDDC certificates to /etc/pki/ca-trust/source/anchors --- SOURCES/rootca_ssl_rsa2022.cer | 33 +++++++++++++++++++++ SOURCES/rootca_ssl_rsa2022.cer.detached.sig | 1 + SPECS/ca-certificates.spec | 15 +++++++++- 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 SOURCES/rootca_ssl_rsa2022.cer create mode 100644 SOURCES/rootca_ssl_rsa2022.cer.detached.sig diff --git a/SOURCES/rootca_ssl_rsa2022.cer b/SOURCES/rootca_ssl_rsa2022.cer new file mode 100644 index 0000000..253d971 --- /dev/null +++ b/SOURCES/rootca_ssl_rsa2022.cer @@ -0,0 +1,33 @@ +-----BEGIN CERTIFICATE----- +MIIFwjCCA6qgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwcDELMAkGA1UEBhMCUlUx +PzA9BgNVBAoMNlRoZSBNaW5pc3RyeSBvZiBEaWdpdGFsIERldmVsb3BtZW50IGFu +ZCBDb21tdW5pY2F0aW9uczEgMB4GA1UEAwwXUnVzc2lhbiBUcnVzdGVkIFJvb3Qg +Q0EwHhcNMjIwMzAxMjEwNDE1WhcNMzIwMjI3MjEwNDE1WjBwMQswCQYDVQQGEwJS +VTE/MD0GA1UECgw2VGhlIE1pbmlzdHJ5IG9mIERpZ2l0YWwgRGV2ZWxvcG1lbnQg +YW5kIENvbW11bmljYXRpb25zMSAwHgYDVQQDDBdSdXNzaWFuIFRydXN0ZWQgUm9v +dCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMfFOZ8pUAL3+r2n +qqE0Zp52selXsKGFYoG0GM5bwz1bSFtCt+AZQMhkWQheI3poZAToYJu69pHLKS6Q +XBiwBC1cvzYmUYKMYZC7jE5YhEU2bSL0mX7NaMxMDmH2/NwuOVRj8OImVa5s1F4U +zn4Kv3PFlDBjj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/u3SZ4VXE2kmxdmSh3TQvybfbnXV +4JbCZVaqiZraqc7oZMnRoWrXRG3ztbnbes/9qhRGI7PqXqeKJBztxRTEVj8ONs1d +WN5szTwaPIvhkhO3CO5ErU2rVdUr89wKpNXbBODFKRtgxUT70YpmJ46VVaqdAhOZ +D9EUUn4YaeLaS8AjSF/h7UkjOibNc4qVDiPP+rkehFWM66PVnP1Msh93tc+taIfC +EYVMxjh8zNbFuoc7fzvvrFILLe7ifvEIUqSVIC/AzplM/Jxw7buXFeGP1qVCBEHq +391d/9RAfaZ12zkwFsl+IKwE/OZxW8AHa9i1p4GO0YSNuczzEm4= +-----END CERTIFICATE----- diff --git a/SOURCES/rootca_ssl_rsa2022.cer.detached.sig b/SOURCES/rootca_ssl_rsa2022.cer.detached.sig new file mode 100644 index 0000000..4cee07f --- /dev/null +++ b/SOURCES/rootca_ssl_rsa2022.cer.detached.sig @@ -0,0 +1 @@ +MIAGCSqGSIb3DQEHAqCAMIACAQExDDAKBggqhQMHAQECAjCABgkqhkiG9w0BBwEAAKCCB7gwgge0MIIHYaADAgECAgsAybP3lAAAAAAFhjAKBggqhQMHAQEDAjCCASQxHjAcBgkqhkiG9w0BCQEWD2RpdEBtaW5zdnlhei5ydTELMAkGA1UEBhMCUlUxGDAWBgNVBAgMDzc3INCc0L7RgdC60LLQsDEZMBcGA1UEBwwQ0LMuINCc0L7RgdC60LLQsDEuMCwGA1UECQwl0YPQu9C40YbQsCDQotCy0LXRgNGB0LrQsNGPLCDQtNC+0LwgNzEsMCoGA1UECgwj0JzQuNC90LrQvtC80YHQstGP0LfRjCDQoNC+0YHRgdC40LgxGDAWBgUqhQNkARINMTA0NzcwMjAyNjcwMTEaMBgGCCqFAwOBAwEBEgwwMDc3MTA0NzQzNzUxLDAqBgNVBAMMI9Cc0LjQvdC60L7QvNGB0LLRj9C30Ywg0KDQvtGB0YHQuNC4MB4XDTIxMDUxOTA4MDc1OFoXDTIyMDgxNzA4MDc1OFowggF4MRowGAYIKoUD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cxMDQ3NDM3NTEsMCoGA1UEAwwj0JzQuNC90LrQvtC80YHQstGP0LfRjCDQoNC+0YHRgdC40LgCCwDJs/eUAAAAAAWGMAoGCCqFAwcBAQEBBEA0eWBz4JnqO6umBiTQK/tkJgTeV0nKAp2SQlJVOlSPwBDx1H5fUZOTQDP0/4OtMakDCKhUHd5KS9DNhZErA0UmAAAAAAAA \ No newline at end of file diff --git a/SPECS/ca-certificates.spec b/SPECS/ca-certificates.spec index 94a6e5d..f571b29 100644 --- a/SPECS/ca-certificates.spec +++ b/SPECS/ca-certificates.spec @@ -38,7 +38,7 @@ Name: ca-certificates Version: 2023.2.60_v7.0.306 # for y-stream, please always use 91 <= release < 100 (91,92,93) # for z-stream release branches, please use 90 <= release < 91 (90.0, 90.1, ...) -Release: 90.1%{?dist}.inferit +Release: 90.1%{?dist}.inferit.1 License: Public Domain URL: https://fedoraproject.org/wiki/CA-Certificates @@ -62,6 +62,10 @@ Source16: README.pem Source17: README.edk2 Source18: README.src +# Russian Ministry of Digital Development and Communications +Source90: rootca_ssl_rsa2022.cer +Source91: rootca_ssl_rsa2022.cer.detached.sig + BuildArch: noarch Requires(post): bash @@ -260,6 +264,9 @@ ln -s %{catrustdir}/extracted/openssl/%{openssl_format_trust_bundle} \ ln -s %{catrustdir}/extracted/%{java_bundle} \ $RPM_BUILD_ROOT%{pkidir}/%{java_bundle} +# Russian Ministry of Digital Development and Communications +install -m 644 %{SOURCE90} $RPM_BUILD_ROOT%{catrustdir}/source/anchors/ +install -m 644 %{SOURCE91} $RPM_BUILD_ROOT%{catrustdir}/source/anchors/ %pre if [ $1 -gt 1 ] ; then @@ -352,6 +359,9 @@ fi %dir %{_datadir}/pki/ca-trust-source/blocklist %dir %{_datadir}/pki/ca-trust-legacy +%{catrustdir}/source/anchors/rootca_ssl_rsa2022.cer +%{catrustdir}/source/anchors/rootca_ssl_rsa2022.cer.detached.sig + %config(noreplace) %{catrustdir}/ca-legacy.conf %{_mandir}/man8/update-ca-trust.8.gz @@ -395,6 +405,9 @@ fi %changelog +* Thu Sep 21 2023 Arkady L. Shane - 2023.2.60_v7.0.306-90.1.inferit.1 +- place MDDC certificates to /etc/pki/ca-trust/source/anchors + *Tue Aug 29 2023 Robert Relyea - 2023.2.60_v7.0.306-90.1.inferit - Bump release number to make CI happy