Lexikjwtauthenticationbundle: digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

Created on 26 Jun 2017  路  6Comments  路  Source: lexik/LexikJWTAuthenticationBundle

Hi,

After creating pub/priv pub files with command from README.md and running chekc command got this:

$ bin/console lexik:jwt:check-config
Failed to load private key "/Users/anton/Projects/pro/back/app/../var/jwt/private.pem":
 0906D06C:PEM routines:PEM_read_bio:no start line
 06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
 0906A065:PEM routines:PEM_do_header:bad decrypt
Support

Most helpful comment

If someone have the same problem, make sure that the pass use to generate the private is the same in the config files

All 6 comments

What am I going wrong? :)

It looks like your private key is encrypted. Save it unencrypted and try again

Closing as solved, that's a key generation issue. Thanks @Spomky for helping out.

If someone have the same problem, make sure that the pass use to generate the private is the same in the config files

@soromamadou you made my day ! Thx a lot.

If someone have the same problem, make sure that the pass use to generate the private is the same in the config files

I have the same problem and wondering which config files you are talking about. Could u give me a hint?

Was this page helpful?
0 / 5 - 0 ratings