-
-
Save tomedme/11708852b7fc70d7bb7f4547d7ac1982 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###> lexik/jwt-authentication-bundle ### | |
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/jwt_rsa_256.pem | |
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/jwt_rsa_256.pub.pem | |
JWT_PASSPHRASE=94af4a52-08fc-11eb-adc1-0242ac120002 | |
###< lexik/jwt-authentication-bundle ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p config/jwt | |
cd config/jwt | |
openssl genrsa -out jwt_rsa_256.pem 4096 | |
openssl rsa -in jwt_rsa_256.pem -pubout -out jwt_rsa_256.pub.pem | |
chmod 644 * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment