diff --git a/.env.example b/.env.example index 1289164..135d995 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,9 @@ APP_URL=http://localhost:4000 ENTITY_ID=https://saml.example.com/entityid -PUBLIC_KEY= # Base64 encoded value of public key `cat public.crt | base64` -PRIVATE_KEY=# Base64 encoded value of private key `cat key.pem | base64` \ No newline at end of file + +# Generate a private/public key combination, this is needed for signing the SAML AuthnRequest +# openssl req -x509 -newkey rsa:2048 -keyout key.pem -out public.crt -sha256 -days 365000 -nodes +# Base64 encoded value of public key `cat public.crt | base64` +PUBLIC_KEY= +# Base64 encoded value of private key `cat key.pem | base64` +PRIVATE_KEY= \ No newline at end of file