I'm trying to install lexikJwtauthbundle
, when I try to generate key :
$ openssl genrsa -out app/config/jwt/private.pem -aes256 4096
Generating RSA private key, 4096 bit long modulus
..........................................................++
........++
The command seems to never finish, I must do a CTRL-C
to exit. The file is created but empty.
The next command to generate the public key return:
unable to load Private Key
12568:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: ANY PRIVATE KEY
What is the problem ?
I want use it for an Api rest i'm building on symfony 3.4, with FosRestBundle. Windows10.