changeset 4998:e9f9711667e1

updated CA for HttpClient.Ssl test
author Alain Mazy <am@osimis.io>
date Fri, 06 May 2022 10:26:22 +0200
parents 0f0ada196993
children f67b8bb90ab6
files NEWS OrthancFramework/Resources/RetrieveCACertificates.py OrthancFramework/UnitTestsSources/BitbucketCACertificates.h OrthancFramework/UnitTestsSources/RestApiTests.cpp
diffstat 4 files changed, 30 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Wed May 04 10:50:34 2022 +0200
+++ b/NEWS	Fri May 06 10:26:22 2022 +0200
@@ -38,6 +38,10 @@
   - /studies, /studies/../series, /studies/../instances
   - /series, /series/../instances
   - /instances
+  ex:
+  - /studies/c27857df-4078c84c-1a79ea78-ac357bb2-9dadc119?requestedTags=ModalitiesInStudy
+  - /studies?expand&since=0&limit=10&requestedTags=ModalitiesInStudy
+  
 * /reconstruct routes:
   - new options "ReconstructFiles" (false by default to keep backward compatibility) to 
     potentialy compress/uncompress the files or transcode them if "StorageCompression"
--- a/OrthancFramework/Resources/RetrieveCACertificates.py	Wed May 04 10:50:34 2022 +0200
+++ b/OrthancFramework/Resources/RetrieveCACertificates.py	Fri May 06 10:26:22 2022 +0200
@@ -31,7 +31,7 @@
     print('Download a set of CA certificates, convert them to PEM, then format them as a C macro')
     print('Usage: %s [Macro] [Certificate1] <Certificate2>...' % sys.argv[0])
     print('')
-    print('Example: %s BITBUCKET_CERTIFICATES https://www.digicert.com/CACerts/DigiCertHighAssuranceEVRootCA.crt' % sys.argv[0])
+    print('Example: %s BITBUCKET_CERTIFICATES https://cacerts.digicert.com/DigiCertSHA2HighAssuranceServerCA.crt' % sys.argv[0])
     print('')
     sys.exit(-1)
 
--- a/OrthancFramework/UnitTestsSources/BitbucketCACertificates.h	Wed May 04 10:50:34 2022 +0200
+++ b/OrthancFramework/UnitTestsSources/BitbucketCACertificates.h	Fri May 06 10:26:22 2022 +0200
@@ -23,26 +23,31 @@
 
 #define BITBUCKET_CERTIFICATES  \
 "-----BEGI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EohQcft\n"  \
+"bZvySC/zA/WiaJJTL17jAgMBAAGjggFJMIIBRTASBgNVHRMBAf8ECDAGAQH/AgEA\n"  \
+"MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw\n"  \
+"NAYIKwYBBQUHAQEEKDAmMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5kaWdpY2Vy\n"  \
+"dC5jb20wSwYDVR0fBEQwQjBAoD6gPIY6aHR0cDovL2NybDQuZGlnaWNlcnQuY29t\n"  \
+"L0RpZ2lDZXJ0SGlnaEFzc3VyYW5jZUVWUm9vdENBLmNybDA9BgNVHSAENjA0MDIG\n"  \
+"BFUdIAAwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cuZGlnaWNlcnQuY29tL0NQ\n"  \
+"UzAdBgNVHQ4EFgQUUWj/kK8CB3U8zNllZGKiErhZcjswHwYDVR0jBBgwFoAUsT7D\n"  \
+"aQP4v0cB1JgmGggC72NkK8MwDQYJKoZIhvcNAQELBQADggEBABiKlYkD5m3fXPwd\n"  \
+"aOpKj4PWUS+Na0QWnqxj9dJubISZi6qBcYRb7TROsLd5kinMLYBq8I4g4Xmk/gNH\n"  \
+"E+r1hspZcX30BJZr01lYPf7TMSVcGDiEo+afgv2MW5gxTs14nhr9hctJqvIni5ly\n"  \
+"/D6q1UEL2tU2ob8cbkdJf17ZSHwD2f2LSaCYJkJA69aSEaRkCldUxPUd1gJea6zu\n"  \
+"xICaEnL6VpPX/78whQYwvwt/Tv9XBZ0k7YXDK/umdaisLRbvfXknsuvCnQsH6qqF\n"  \
+"0wGjIChBWUMo0oHjqvbsezt3tkBigAVBRQHvFwY+3sAzm2fTYS5yh+Rp/BIAV0Ae\n"  \
+"cPUeybQ=\n"  \
 "-----END CERTIFICATE-----\n"  \
-"\n" 
+"\n"  
--- a/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Wed May 04 10:50:34 2022 +0200
+++ b/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Fri May 06 10:26:22 2022 +0200
@@ -110,7 +110,7 @@
    macro that can be used by libcurl:
 
    # cd UnitTestsSources
-   # ../Resources/RetrieveCACertificates.py BITBUCKET_CERTIFICATES https://www.digicert.com/CACerts/DigiCertHighAssuranceEVRootCA.crt > BitbucketCACertificates.h
+   # ../Resources/RetrieveCACertificates.py BITBUCKET_CERTIFICATES https://cacerts.digicert.com/DigiCertSHA2HighAssuranceServerCA.crt > BitbucketCACertificates.h
 **/
 
 #include "BitbucketCACertificates.h"