Jenyus-Org / next-auth-saml

NextJS SAML authentication with Next-Auth.js.
62 stars 9 forks source link

Certs #1

Open pspelman opened 2 years ago

pspelman commented 2 years ago

After copy-pasting the line from the readme for generating the certs I get prompted for a passphrase and a few other details, the cert is generated, and then there is an error:

openssl req -x509 -newkey rsa:4096 -keyout certs\key.pem
-out certs\cert.pem -nodes -days 900

ERROR: zsh: command not found: -out

HELP! It seems so close!!!

kuhlaid commented 2 years ago

@pspelman What system terminal are you using? Mac?

arisrais commented 2 years ago

you have to extract the idp_key value from http://localhost:8080/simplesaml/saml2/idp/metadata.php?output=xhtml 'certData' => 'XXXXXX',