Skip to content

Instantly share code, notes, and snippets.

@kendricktan
Created September 3, 2018 12:08
Show Gist options
  • Select an option

  • Save kendricktan/9e08fa0ae4a3f166b89cdbf1027dddec to your computer and use it in GitHub Desktop.

Select an option

Save kendricktan/9e08fa0ae4a3f166b89cdbf1027dddec to your computer and use it in GitHub Desktop.
Generate Cert and RSA Key for ESP8266
# Key
openssl genrsa -out <domain-name>.key 2048
# Cert
openssl req -new -x509 -key <domain-name>.key -out <domain-name>.cert -days 3650 -subj /CN=<domain-name>
# https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WebServer/examples/HelloServerBearSSL/HelloServerBearSSL.ino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment