Created
February 12, 2021 02:09
-
-
Save josenicomaia/440635bb07def551ef3d4d5cadcf8606 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Redis cert | |
| cd c:/Softwares/certs | |
| openssl genrsa -out key.pem 4096 | |
| openssl req -new -x509 -key key.pem -out cert.pem -subj "/CN=localhost" -days 1826 | |
| # Redis with SSL | |
| docker run --name some-redis -d -p 6380:6379 -v c:/Softwares/certs:/certs --name some-redis-tls madflojo/redis-tls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment