Skip to content

Commit

Permalink
Update TLS-hardening.md due to stop support OTP 22
Browse files Browse the repository at this point in the history
  • Loading branch information
vkatsuba committed Sep 22, 2021
1 parent db64a59 commit 0de7e95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions doc/configuration/TLS-hardening.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ In order to change the list, please find the following lines:

```
{protocol_version, ['tlsv1.2'
%, 'tlsv1.3' % supported in OTP >= 22
%, 'tlsv1.3'
]}
```

By default only TLS 1.2 is enabled, as 1.3 is not supported by OTPs older than 23.0.
If you are using OTP 23.0 or newer, you may remove leading `%` before `'tlsv1.3'`.
By default only TLS 1.2 is enabled. To enable TLS 1.3, remove leading `%` before `'tlsv1.3'`.
The remaining valid values are: `'tlsv1.1'`, `tlsv1`, `sslv3`.

This setting affects the following MongooseIM components:
Expand Down
2 changes: 1 addition & 1 deletion rel/files/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
{ssl, [
{session_lifetime, 600}, % 10 minutes
{protocol_version, ['tlsv1.2'
%, 'tlsv1.3' % supported in OTP >= 22
%, 'tlsv1.3'
]}
]},
{nkservice, [
Expand Down

0 comments on commit 0de7e95

Please sign in to comment.