Import jks file for JWT authentiction

I want to import .jks file in my kong gateway which acts as my private key, so that I can verify each and every request. But after lots of research I cannot find the solution. Can someone please help me, thanks in advance.

Hi Dhiraj,

JKS is PKCS12 format which includes private key and certificate chain.

What you need to do is to export private key from jks. Then you can follow official doc to add public key (you can extra public key from private key using openssl) to your consumer JWT credential.

After that JWT auth plugin can validate JWT tokens that are generated with the same private key from jks file.

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ