From 838c490eb4403885e96cbe3ded6f73a082c9399f Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 16 Aug 2024 14:27:15 +1000 Subject: tests/net_inet: Update micropython.org certificate for SSL tests. The Let's Encrypt root certificate has changed so needs updating in this test. Signed-off-by: Damien George --- tests/net_inet/test_sslcontext_client.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tests/net_inet/test_sslcontext_client.py') diff --git a/tests/net_inet/test_sslcontext_client.py b/tests/net_inet/test_sslcontext_client.py index 860b053d5b..30ec0ac7c8 100644 --- a/tests/net_inet/test_sslcontext_client.py +++ b/tests/net_inet/test_sslcontext_client.py @@ -5,11 +5,10 @@ import ssl # This certificate was obtained from micropython.org using openssl: # $ openssl s_client -showcerts -connect micropython.org:443 /dev/null # The certificate is from Let's Encrypt: -# 1 s:/C=US/O=Let's Encrypt/CN=R3 -# i:/C=US/O=Internet Security Research Group/CN=ISRG Root X1 -# Validity -# Not Before: Sep 4 00:00:00 2020 GMT -# Not After : Sep 15 16:00:00 2025 GMT +# 1 s:C=US, O=Let's Encrypt, CN=R11 +# i:C=US, O=Internet Security Research Group, CN=ISRG Root X1 +# a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256 +# v:NotBefore: Mar 13 00:00:00 2024 GMT; NotAfter: Mar 12 23:59:59 2027 GMT # Copy PEM content to a file (certmpy.pem) and convert to DER e.g. # $ openssl x509 -in certmpy.pem -out certmpy.der -outform DER # Then convert to hex format, eg using binascii.hexlify(data). -- cgit v1.2.3