anycable / anycable-go

AnyCable real-time server
https://anycable.io
MIT License
375 stars 65 forks source link

Validate Redis server TLS certificates by default, allow to disable #159

Closed Envek closed 1 year ago

Envek commented 1 year ago

What is the purpose of this pull request?

Skipping certificate validation for encrypted connection to Redis is not secure as it allows for man-in-the-middle attack.

However, given how troublesome it may be to set up SSL certificates properly, sometimes it should be disabled. Hence a setting for this.

What changes did you make? (overview)

Checklist