From c115d1e7e3b0cd78c3d9b7ac5ae687e5f4d8df4c Mon Sep 17 00:00:00 2001 From: Roman Strobl Date: Wed, 11 Dec 2024 19:52:43 +0800 Subject: [PATCH 1/3] Fix #920: Embed new APNS certificates --- .../java/io/getlime/push/util/CaCertUtil.java | 3 +- .../cacert/USERTrustRSAAAACA_2025.pem | 34 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 powerauth-push-server/src/main/resources/cacert/USERTrustRSAAAACA_2025.pem diff --git a/powerauth-push-server/src/main/java/io/getlime/push/util/CaCertUtil.java b/powerauth-push-server/src/main/java/io/getlime/push/util/CaCertUtil.java index dc922930e..d5db0a021 100644 --- a/powerauth-push-server/src/main/java/io/getlime/push/util/CaCertUtil.java +++ b/powerauth-push-server/src/main/java/io/getlime/push/util/CaCertUtil.java @@ -52,7 +52,8 @@ public class CaCertUtil { "classpath:/cacert/GeoTrust_Global_CA.pem", "classpath:/cacert/AAACertificateServices.pem", "classpath:/cacert/COMODORSAAAACA.pem", - "classpath:/cacert/USERTrustRSAAAACA.pem" + "classpath:/cacert/USERTrustRSAAAACA.pem", + "classpath:/cacert/USERTrustRSAAAACA_2025.pem" ); private final PushServiceConfiguration pushServiceConfiguration; diff --git a/powerauth-push-server/src/main/resources/cacert/USERTrustRSAAAACA_2025.pem b/powerauth-push-server/src/main/resources/cacert/USERTrustRSAAAACA_2025.pem new file mode 100644 index 000000000..2795cf313 --- /dev/null +++ b/powerauth-push-server/src/main/resources/cacert/USERTrustRSAAAACA_2025.pem @@ -0,0 +1,34 @@ +-----BEGIN CERTIFICATE----- +MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCB +iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl +cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV +BAMTJVVTRVJUc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IDZsswDgYDVR0PAQH/BAQDAgEGMA8G +A1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAFzUfA3P9wF9QZllDHPF +Up/L+M+ZBn8b2kMVn54CVVeWFPFSPCeHlCjtHzoBN6J2/FNQwISbxmtOuowhT6KO +VWKR82kV2LyI48SqC/3vqOlLVSoGIG1VeCkZ7l8wXEskEVX/JJpuXior7gtNn3/3 +ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jRRa8YFWSQEg9zKC7F4iRO/Fjs +8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9spnFixdjQg3IM8WcR +iQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwXtuhxkYze +Sf7dNXGiFSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZ +XHlKYC6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/ +qS3fuQL39ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRB +VXyNWQKV3WKdwrnuWih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aB +L6KCq9NjRHDEjf8tM7qtj3u1cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfG +jjxDah2nGN59PRbxYvnKkKj9 +-----END CERTIFICATE----- From e47724850dc69b6bf0aa5b1f4eaef7e76462a734 Mon Sep 17 00:00:00 2001 From: Roman Strobl Date: Thu, 19 Dec 2024 11:32:29 +0100 Subject: [PATCH 2/3] Increase version to 1.9.1 --- pom.xml | 2 +- powerauth-push-client/pom.xml | 2 +- powerauth-push-model/pom.xml | 2 +- powerauth-push-server/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 17b5aa103..79e8c1021 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ io.getlime.security powerauth-push-server-parent - 1.9.0 + 1.9.1 pom diff --git a/powerauth-push-client/pom.xml b/powerauth-push-client/pom.xml index 330d2da56..ede182c9f 100644 --- a/powerauth-push-client/pom.xml +++ b/powerauth-push-client/pom.xml @@ -10,7 +10,7 @@ powerauth-push-server-parent io.getlime.security - 1.9.0 + 1.9.1 diff --git a/powerauth-push-model/pom.xml b/powerauth-push-model/pom.xml index 1ce4dde8e..ef4c70716 100644 --- a/powerauth-push-model/pom.xml +++ b/powerauth-push-model/pom.xml @@ -11,7 +11,7 @@ powerauth-push-server-parent io.getlime.security - 1.9.0 + 1.9.1 diff --git a/powerauth-push-server/pom.xml b/powerauth-push-server/pom.xml index e25c32fe8..24b96aa15 100644 --- a/powerauth-push-server/pom.xml +++ b/powerauth-push-server/pom.xml @@ -11,7 +11,7 @@ io.getlime.security powerauth-push-server-parent - 1.9.0 + 1.9.1 From 103369e1ff231252a116c0a95dceeb8e1cb1e1a6 Mon Sep 17 00:00:00 2001 From: Roman Strobl Date: Thu, 19 Dec 2024 12:26:01 +0100 Subject: [PATCH 3/3] Fix #936: [Bug]: Rename APNs root certificate --- .../src/main/java/io/getlime/push/util/CaCertUtil.java | 2 +- .../cacert/{USERTrustRSAAAACA_2025.pem => USERTrustRSA_CA.pem} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename powerauth-push-server/src/main/resources/cacert/{USERTrustRSAAAACA_2025.pem => USERTrustRSA_CA.pem} (100%) diff --git a/powerauth-push-server/src/main/java/io/getlime/push/util/CaCertUtil.java b/powerauth-push-server/src/main/java/io/getlime/push/util/CaCertUtil.java index d5db0a021..edb5bbe91 100644 --- a/powerauth-push-server/src/main/java/io/getlime/push/util/CaCertUtil.java +++ b/powerauth-push-server/src/main/java/io/getlime/push/util/CaCertUtil.java @@ -53,7 +53,7 @@ public class CaCertUtil { "classpath:/cacert/AAACertificateServices.pem", "classpath:/cacert/COMODORSAAAACA.pem", "classpath:/cacert/USERTrustRSAAAACA.pem", - "classpath:/cacert/USERTrustRSAAAACA_2025.pem" + "classpath:/cacert/USERTrustRSA_CA.pem" ); private final PushServiceConfiguration pushServiceConfiguration; diff --git a/powerauth-push-server/src/main/resources/cacert/USERTrustRSAAAACA_2025.pem b/powerauth-push-server/src/main/resources/cacert/USERTrustRSA_CA.pem similarity index 100% rename from powerauth-push-server/src/main/resources/cacert/USERTrustRSAAAACA_2025.pem rename to powerauth-push-server/src/main/resources/cacert/USERTrustRSA_CA.pem