Created
September 3, 2018 12:08
-
-
Save kendricktan/9e08fa0ae4a3f166b89cdbf1027dddec to your computer and use it in GitHub Desktop.
Generate Cert and RSA Key for ESP8266
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
| # 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