Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

digital envelope routines:EVP_DecryptFinal_ex:bad decrypt #355

Closed
antonmedv opened this issue Jun 26, 2017 · 6 comments
Closed

digital envelope routines:EVP_DecryptFinal_ex:bad decrypt #355

antonmedv opened this issue Jun 26, 2017 · 6 comments
Labels

Comments

@antonmedv
Copy link

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
@antonmedv
Copy link
Author

What am I going wrong? :)

@Spomky
Copy link
Contributor

Spomky commented Jun 26, 2017

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

@chalasr
Copy link
Collaborator

chalasr commented Jun 29, 2017

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

@chalasr chalasr closed this as completed Jun 29, 2017
@soromamadou
Copy link

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

@HakimLMS
Copy link

@soromamadou you made my day ! Thx a lot.

@willchr
Copy link

willchr commented Jan 15, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants