mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
[lexik/jwt-authentication-bundle] Fix generate-jwt-keys target in Makefile
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
OPENSSL_BIN := $(shell which openssl)
|
||||
generate-jwt-keys:
|
||||
ifeq (, $(shell which openssl))
|
||||
$(error "Unable to generate keys (needs OpenSSL)")
|
||||
ifndef OPENSSL_BIN
|
||||
$(error "Unable to generate keys (needs OpenSSL)")
|
||||
endif
|
||||
mkdir -p etc/jwt
|
||||
openssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096
|
||||
|
||||
Reference in New Issue
Block a user