Snowflake key pair authentication failed : JWT token is invalid

Hi,
I was trying to connect Knime Analytics platform (5.4.2) and snowflake (West-Europe region) in a virtual machine with UTC (UTC - 08:00) timezone using key-pair authentication. And I got the error for " JWT_TOKEN_INVALID_EXPIRATION_TIME".

I have created key-pairs using open-ssl latest version according to snowflake’s instruction.

If I create the key in my local (India) the same workflow with key pair authentication works in my local. If I create the key in my virtual machine the workflow fails in both my local as well as virtual machine.

Is it because of virtual machine’s timing being out of sync or is it another issue I am unaware of?

Any help would be appreciated.

Best Regards.

Hello @RuchiRuchika,

It should just be the timing being out of sync as is typical with VM’s. It depends on what you are using, but typically you can set in a config to make sure the time on the VM is synced to the host machine.

If you are using VMware, this is a pretty good thread for solutions to it:

TL

2 Likes

Hi @thor_landstrom , thanks for replying. I will give it a try and update whether it worked for me.

1 Like