From 3b98116b29e06af267f83bf7ea0c307ce4a35d33 Mon Sep 17 00:00:00 2001
From: Lauri Himanen <lauri.himanen@gmail.com>
Date: Mon, 7 Aug 2023 12:11:19 +0000
Subject: [PATCH] Resolve "Digicert RFC3161 timestamp service cannot be
 reached"

---
 tests/processing/test_rfc3161.py | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/tests/processing/test_rfc3161.py b/tests/processing/test_rfc3161.py
index 995f3950a7..b21baff8c8 100644
--- a/tests/processing/test_rfc3161.py
+++ b/tests/processing/test_rfc3161.py
@@ -32,16 +32,17 @@ from nomad.processing.data import get_rfc3161_token, Entry
     pytest.param('http://zeitstempel.dfn.de', None, True, id='zeitstempel.dfn.de'),
     pytest.param('http://timestamp.sectigo.com', None, True, id='timestamp.sectigo.com'),
     pytest.param('https://freetsa.org/tsr', 'https://freetsa.org/files/tsa.crt', True, id='freetsa.org/tsr'),
-    pytest.param(
-        'http://timestamp.digicert.com/',
-        'https://knowledge.digicert.com/content/dam/digicertknowledgebase/attachments/time-stamp/TSACertificate.cer',
-        True,
-        id='timestamp.digicert.com-correct-cert'),
-    pytest.param(
-        'http://timestamp.digicert.com/',
-        'https://freetsa.org/files/tsa.crt',
-        False,
-        id='timestamp.digicert.com-wrong-cert'),
+    # The digicert server cannot be reached: the affected tests are skipped temporarily
+    # pytest.param(
+    #     'http://timestamp.digicert.com/',
+    #     'https://knowledge.digicert.com/content/dam/digicertknowledgebase/attachments/time-stamp/TSACertificate.cer',
+    #     True,
+    #     id='timestamp.digicert.com-correct-cert'),
+    # pytest.param(
+    #     'http://timestamp.digicert.com/',
+    #     'https://freetsa.org/files/tsa.crt',
+    #     False,
+    #     id='timestamp.digicert.com-wrong-cert'),
 ])
 def test_rfc3161ng_timestamp(server, cert, result, monkeysession):
     # this is due to requests being used by rfc3161ng
-- 
GitLab