It looks like the Let's Encrypt certificate expired yesterday so HTTPS requests have issues:
Issued To:
Common Name (CN) www.boredapi.com
Organization (O) <Not Part Of Certificate>
Organizational Unit (OU) <Not Part Of Certificate>
Issued By:
Common Name (CN) R3
Organization (O) Let's Encrypt
Organizational Unit (OU) <Not Part Of Certificate>
Validity Period:
Issued On Tuesday, March 1, 2022 at 5:24:42 PM
Expires On Monday, May 30, 2022 at 6:24:41 PM
Fingerprints:
SHA-256 Fingerprint 4F 09 0A 4B B3 83 EF CD 48 92 80 15 9E 21 25 B3
04 B5 54 A3 F1 06 52 BA 99 F1 0E B0 36 13 DD 40
SHA-1 Fingerprint 7C E2 08 BC 40 8D 14 9E E1 9D 00 C6 BD 18 47 30
BA 53 A0 67
We're seeing this issue in Python apps where I work.
Traceback (most recent call last):
File "/opt/Python-3.10.3/Lib/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/opt/Python-3.10.3/Lib/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/opt/Python-3.10.3/Lib/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/opt/Python-3.10.3/Lib/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/opt/Python-3.10.3/Lib/http/client.py", line 1037, in _send_output
self.send(msg)
File "/opt/Python-3.10.3/Lib/http/client.py", line 975, in send
self.connect()
File "/opt/Python-3.10.3/Lib/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/opt/Python-3.10.3/Lib/ssl.py", line 512, in wrap_socket
return self.sslsocket_class._create(
File "/opt/Python-3.10.3/Lib/ssl.py", line 1070, in _create
self.do_handshake()
File "/opt/Python-3.10.3/Lib/ssl.py", line 1341, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/daniel/junk/cert/main.py", line 5, in <module>
with urlopen(API_URL) as response:
File "/opt/Python-3.10.3/Lib/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/opt/Python-3.10.3/Lib/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/opt/Python-3.10.3/Lib/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/opt/Python-3.10.3/Lib/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/opt/Python-3.10.3/Lib/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/opt/Python-3.10.3/Lib/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)>
b'{"activity":"Write a short story","type":"recreational","participants":1,"price":0,"link":"","key":"6301585","accessibility":0.1}'