Created
May 2, 2025 00:50
-
-
Save sgbaird/5ddef425e8d4aae454a69fbce8654faf to your computer and use it in GitHub Desktop.
hivemq-root-cert.ipynb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nbformat": 4, | |
"nbformat_minor": 0, | |
"metadata": { | |
"colab": { | |
"provenance": [], | |
"authorship_tag": "ABX9TyMVqUcJnKhV4IYvn+BaAkE7", | |
"include_colab_link": true | |
}, | |
"kernelspec": { | |
"name": "python3", | |
"display_name": "Python 3" | |
}, | |
"language_info": { | |
"name": "python" | |
} | |
}, | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"id": "view-in-github", | |
"colab_type": "text" | |
}, | |
"source": [ | |
"<a href=\"https://colab.research.google.com/gist/sgbaird/5ddef425e8d4aae454a69fbce8654faf/hivemq-root-cert.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"source": [ | |
"https://community.hivemq.com/t/getting-started-raspberry-pi-pico-w/1316/33" | |
], | |
"metadata": { | |
"id": "ii09Ju4Oti4v" | |
} | |
}, | |
{ | |
"cell_type": "code", | |
"source": [ | |
"!wget https://letsencrypt.org/certs/isrgrootx1.pem" | |
], | |
"metadata": { | |
"colab": { | |
"base_uri": "https://localhost:8080/" | |
}, | |
"id": "vd3l4cgPtDo7", | |
"outputId": "6813183a-52ee-4287-cb2d-9ec22dc897e4" | |
}, | |
"execution_count": null, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"name": "stdout", | |
"text": [ | |
"--2025-04-29 22:39:50-- https://letsencrypt.org/certs/isrgrootx1.pem\n", | |
"Resolving letsencrypt.org (letsencrypt.org)... 34.234.106.80, 100.28.201.155, 2600:1f18:16e:df01::65, ...\n", | |
"Connecting to letsencrypt.org (letsencrypt.org)|34.234.106.80|:443... connected.\n", | |
"HTTP request sent, awaiting response... 200 OK\n", | |
"Length: 1939 (1.9K) [application/x-pem-file]\n", | |
"Saving to: ‘isrgrootx1.pem’\n", | |
"\n", | |
"isrgrootx1.pem 100%[===================>] 1.89K --.-KB/s in 0s \n", | |
"\n", | |
"2025-04-29 22:39:51 (35.7 MB/s) - ‘isrgrootx1.pem’ saved [1939/1939]\n", | |
"\n" | |
] | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"id": "u8TMWUQEs1cS" | |
}, | |
"outputs": [], | |
"source": [ | |
"!openssl x509 -outform der -in isrgrootx1.pem -out hivemq-com-chain.der" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment