File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -885,6 +885,27 @@ Setting True as a value will instruct the django-redis to close all the connecti
885
885
}
886
886
}
887
887
888
+ SSL/TLS and Self-Signed certificates
889
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
890
+
891
+ In case you encounter a Redis server offering a TLS connection using a
892
+ self-signed certificate you may disable certification verification with the
893
+ following:
894
+
895
+ .. code-block :: python
896
+
897
+ CACHES = {
898
+ " default" : {
899
+ " BACKEND" : " django_redis.cache.RedisCache" ,
900
+ " LOCATION" : " rediss://127.0.0.1:6379/1" ,
901
+ " OPTIONS" : {
902
+ " CLIENT_CLASS" : " django_redis.client.DefaultClient" ,
903
+ " CONNECTION_POOL_KWARGS" : {" ssl_cert_reqs" : None }
904
+ }
905
+ }
906
+ }
907
+
908
+
888
909
License
889
910
-------
890
911
Original file line number Diff line number Diff line change
1
+ Add documentation on configuring self signed SSL certificates.
You can’t perform that action at this time.
0 commit comments