massenz / go-statemachine

A basic implementation of a Finite State Machine in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test also with TLS enabled for Redis

massenz opened this issue · comments

Redis has a handy script to generate test certs to run tests (see here) and we can enable the docker-compose to run Redis with TLS enabled:

./src/redis-server --tls-port 6379 --port 0 \
    --tls-cert-file ./tests/tls/redis.crt \
    --tls-key-file ./tests/tls/redis.key \
    --tls-ca-cert-file ./tests/tls/ca.crt

As of #47, we can enable our SM-Server to use TLS, so we should also test this functionality.