Did you know ... | Search Documentation: |
Redis TLS support |
If SWI-Prolog includes the ssl
library, the Redis client
can connect to the server using TLS (SSL). Connecting requires the same
three files as redis-cli
requires: the root certificate
file, a client certificate and the private key of the client
certificate. Below is an example call to redis_server/3:
:- redis_server(swish, localhost:6379, [ user(bob), password("topsecret"), version(3), tls(true), cacert('ca.crt'), key('client.key'), cert('client.cert') ]).