Testing / Using shell script connection throw routines:EVP_DecryptFinal_ex:bad decrypt error

We have an on prem instance of retool (k8s w/ an external RDS postgres), with existing working resources that include sensitive data (e.g. S3 keys), and everything seems fine.
While trying to create a new Shell-Script resource (the first we ever tried to), while testing the connection, we get this error:
"Unable to connect. Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt"

It seems that this error is connected to retool trying to work with sensitive data, before actually trying to connect to the remote host (indeed, /var/log/auth.log on the host doesn't show any connection attempt). We didn't change our encryption_key, and as said above, our existing resources work well.

We'd love to know how to proceed. Thanks.

Updating here for future searches: The issue was resolved by rotating the SSH keys

1 Like

Hi @yassa,

Thank you for sharing! I'm so glad to hear you have a resolution :slightly_smiling_face: