ESP32 Cert Generator

Creates a self-signed SSL certificate for the ESP32 Mini OLED Webcam Stream sketch. Click Generate, then paste both blocks into browser-oled.ino where it says PASTE YOUR CERTIFICATE HERE.

Privacy: this page generates a cryptographic key on your computer. The key never leaves your browser. It is not sent to GitHub, to the author, or to any server anywhere.

Verify it yourself: open your browser's DevTools, go to the Network tab, then click Generate. You will see zero network requests. Everything is computed locally by the node-forge library that loaded when you opened this page.

You can also view the full source of this page (it is plain HTML and JavaScript, around 140 lines) on GitHub, or save the page and run it offline.

Ready. Generation takes about 5 seconds.
What is this doing?

It generates a 2048-bit RSA keypair and wraps it in a self-signed X.509 certificate (CN=esp32.local, valid 10 years) using the node-forge library. The output is the same two PEM files you would get from openssl req -x509 ..., just preformatted as C string literals so you can paste them into an Arduino sketch. Nothing about this page talks to a server after you load it.