Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ColdFusion 2016 Redis Session Storage with SSL and password, Elasticache

New Here ,
May 26, 2020 May 26, 2020

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?

332
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2020 May 27, 2020
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources