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.
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.
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.