diff options
author | Damien George <damien@micropython.org> | 2024-08-16 14:27:15 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-09-04 16:28:39 +1000 |
commit | 838c490eb4403885e96cbe3ded6f73a082c9399f (patch) | |
tree | a8056e43f5d14f02217f88bc0fb927bf4a67e4cd /tests/net_inet/test_sslcontext_client.py | |
parent | fee9d66e3a7308bd9edffb2624b52f4e04ecc4f3 (diff) | |
download | micropython-838c490eb4403885e96cbe3ded6f73a082c9399f.tar.gz micropython-838c490eb4403885e96cbe3ded6f73a082c9399f.zip |
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 <damien@micropython.org>
Diffstat (limited to 'tests/net_inet/test_sslcontext_client.py')
-rw-r--r-- | tests/net_inet/test_sslcontext_client.py | 9 |
1 files changed, 4 insertions, 5 deletions
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 2>/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). |