I’m trying to generate a set of keypairs that will be used to encode the to-be generated JSON Web Tokens.
But i get this error:
php bin/console lexik:jwt:generate-keypair
[critical] Error thrown while running command "lexik:jwt:generate-keypair". Message: "error:80000003:system library::No such process"
In GenerateKeyPairCommand.php line 161:
error:80000003:system library::No such process
lexik:jwt:generate-keypair [--dry-run] [--skip-if-exists] [--overwrite]
I already have openssl ext enabled in my php.ini
extension=openssl
2
Answers
So I tried to use the command again on git bash where openssl is installed but didn't work, so i generated the keys with openssl directly from it. To generate private key:
and to generate the public key:
Did you tried to execute
openssl
in a terminal? I think that on top of having the openssl php extension installed, you also need the package to be installed on your system.