summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2023-05-09 23:59:31 +0200
committerMattes D <github@xoft.cz>2023-05-19 16:25:12 +0200
commitea35d7d23ec153ee0befba594b150a9f8ea41b53 (patch)
treecadcd8a5f9c33ab6cf28e84f0e95e42e685ce96b /src/Protocol/MojangAPI.cpp
parentUrlClientTest: Added timeout to all tests. (diff)
downloadcuberite-ea35d7d23ec153ee0befba594b150a9f8ea41b53.tar
cuberite-ea35d7d23ec153ee0befba594b150a9f8ea41b53.tar.gz
cuberite-ea35d7d23ec153ee0befba594b150a9f8ea41b53.tar.bz2
cuberite-ea35d7d23ec153ee0befba594b150a9f8ea41b53.tar.lz
cuberite-ea35d7d23ec153ee0befba594b150a9f8ea41b53.tar.xz
cuberite-ea35d7d23ec153ee0befba594b150a9f8ea41b53.tar.zst
cuberite-ea35d7d23ec153ee0befba594b150a9f8ea41b53.zip
Diffstat (limited to 'src/Protocol/MojangAPI.cpp')
-rw-r--r--src/Protocol/MojangAPI.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/Protocol/MojangAPI.cpp b/src/Protocol/MojangAPI.cpp
index 57becce62..fac6371d1 100644
--- a/src/Protocol/MojangAPI.cpp
+++ b/src/Protocol/MojangAPI.cpp
@@ -46,7 +46,7 @@ namespace MojangTrustedRootCAs
static const AStringMap & UrlClientOptions()
{
static const AString CertString =
- // DigiCert Global Root CA (sessionserver.mojang.com)
+ // DigiCert Global Root CA (sessionserver.mojang.com, api.mojang.com)
// Downloaded from https://www.digicert.com/kb/digicert-root-certificates.htm
// DigiCert Global Root CA
@@ -73,29 +73,6 @@ namespace MojangTrustedRootCAs
"CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4=\n"
"-----END CERTIFICATE-----\n"
- // Amazon Root CA 1 (api.mojang.com)
- // Downloaded from https://www.amazontrust.com/repository/
- "-----BEGIN CERTIFICATE-----\n"
-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Ca2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU\n"
- "5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2xJNDd2ZhwLnoQdeXeGADbkpy\n"
- "rqXRfboQnoZsG4q5WTP468SQvvG5\n"
- "-----END CERTIFICATE-----\n"
-
// AAA Certificate Services (authserver.ely.by GH#4832)
// Downloaded from https://www.tbs-certificates.co.uk/FAQ/en/Comodo_AAA_Certificate_Services.html
"-----BEGIN CERTIFICATE-----\n"