This commit is contained in:
AJ ONeal 2014-06-25 18:24:26 -06:00
parent 409a937e81
commit 6d7b06dd1b
1 changed files with 24 additions and 0 deletions

View File

@ -119,3 +119,27 @@ The same dissolution from the terminal would be
export NODE_TLS_REJECT_UNAUTHORIZED="0"
node my-service.js
```
# Index
Other information you might want to know while you're here.
## Generating an SSL Cert
Just in case you didn't know, here's how you do it:
```
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
```
**DO NOT FILL OUT** email address, challenge password, or optional company name
However, you *should* fill out country name, FULL state name, locality name, organization name.
*organizational unit* is optional.
```
cat server.csr
```
That creates a sha-1 hash.