Skip to main content
Participant
May 26, 2020
Question

ColdFusion 2016 Redis Session Storage with SSL and password, Elasticache

  • May 26, 2020
  • 1 reply
  • 390 views

I'm working towards using Redis to store ColdFusion sessions in an ElastiCache instance.

 

ElastiCache has encryption options:

  • Encryption at Rest (This works easily.  It is transparent to Redis Connections)
  • Encryption in Transit
    • Redis Auth

 

Ideally both of the last two options should be enabled. Redis Auth can only be enabled when Encryption in Transit is enabled.

 

When Encryption in Transit is enabled, connection timouts occur while verifying the Redis connections. 

Redis Connection Verification Failed. java.net.SocketTimeoutException: Read timed out

For this connection, I'm using a plain hostname.  I am not modifying the address to create different url in any way.  

 


I've seen some articles about the redis url scheme and using 
redis:// for plain text connections

rediss:// for SSL connections.
However, when either of these are configured in the coldfusion administrator page, the connection verification throws an error.
Redis Connection Verification Failed. java.net.UnknownHostException

 


How can I enable SSL in the connection to Redis for the session storage?

    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    May 27, 2020

    What about using th IP address instead of the hostname? I would try it together with the standard Redis port, 6379.