mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
9 lines
353 B
Bash
9 lines
353 B
Bash
#!/bin/bash
|
|
|
|
# Example command to generate a new certificate in the correct format.
|
|
# Expiry time and metadata fields can be adjusted in the invocation.
|
|
|
|
# Please see the openssl man pages (man openssl-req) for more details
|
|
|
|
openssl req -newkey rsa:2048 -nodes -keyout prvtkey.pem -x509 -days 3650 -out cacert.pem -subj "/CN=ESP32 HTTPS server example"
|