Added how to create the key.pem and cert.pem
Added how to create the key.pem and cert.pem for SSL
@@ -135,6 +135,15 @@ fn main() {
> For a full example, check out
> [examples/tls](https://github.com/actix/examples/tree/master/tls).
+To create the key.pem and cert.pem use the command. **Fill in your own subject**
+```bash
+$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -sha256 -subj "/C=CN/ST=Fujian/L=Xiamen/O=TVlinux/OU=Org/CN=muro.lxd"
+```
+To remove the password, then copy nopass.pen to key.pem
+```bash
+$ openssl rsa -in key.pem -out nopass.pem
+```
+
## Keep-Alive
Actix can wait for requests on a keep-alive connection.
