markotitel's avatar

Passport keys.

Can passport keys be generated using openSSL command?

This would be handy because of automated deployments in a loadbalanced environment.

0 likes
2 replies
bobbybouwmann's avatar

Laravel uses the \phpseclib\Crypt\RSA library to generate the keys. In the end, it doesn't really matter how you generate the keys, as long as they are stored in the correct directory. Laravel only checks on the directory itself. If you have a matching private and public key you should be good to go ;)

markotitel's avatar

Thanks for the time. Are the keys connected to the client secrets for Personal access and Password grant secrets?

If they are present in the database, passport install command will generate new ones with incremented client IDs.

Please or to participate in this conversation.