Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add another expired error message for macOS
Browse files Browse the repository at this point in the history
sethmlarson committed Apr 25, 2024
1 parent 373776a commit d1ead43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@
import requests
import urllib3
import urllib3.exceptions
from pytest_httpserver import HTTPServer

import truststore
from tests import SSLContextAdapter
@@ -138,7 +137,10 @@ class FailureHost:
# "The certificate is revoked.",
# TODO: Temporary while certificate is expired on badssl.com.
# Test will start failing against once the certificate is fixed.
# macOS
'"revoked.badssl.com","RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1","DigiCert Global Root CA" certificates do not meet pinning requirements',
"“revoked.badssl.com” certificate is expired",
# Windows
"A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.",
],
)

0 comments on commit d1ead43

Please sign in to comment.