Skip to content

Commit

Permalink
Update https.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mkagenius committed Aug 10, 2016
1 parent 5add555 commit 464ba1f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions https.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ To solve that problem browser like Chrome, Firefox, Safari etc. come embedded wi
```

- [ ] support only TLSv1.1 and TLSv1.2. Do not support sslv2 and sslv3
`ssl_protocols TLSv1.1 TLSv1.2;`
```
ssl_protocols TLSv1.1 TLSv1.2;
```

- [ ] do not use the default Diffie-Hellman parameter, locally generate param for more security
```shell
Expand All @@ -59,7 +61,9 @@ To solve that problem browser like Chrome, Firefox, Safari etc. come embedded wi
```
- [ ] config to enable HSTS(HTTP Strict Transport Security) to avoid [ssl stripping](https://en.wikipedia.org/wiki/SSL_stripping#SSL_stripping). This should not be a problem if ALL, yes, if ALL traffic is redirected to https
```add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";```
```
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
```

### Certificate Pinning for apps
TODO
Expand Down

0 comments on commit 464ba1f

Please sign in to comment.