0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-07 07:19:11 +00:00
salesagility_SuiteCRM/lib/API/OAuth2
2019-04-17 04:07:46 +01:00
..
Entities Update License 2018-01-19 13:22:30 +00:00
Exception single_blank_line_at_eof 2018-07-19 11:38:09 +01:00
Middleware single_blank_line_at_eof 2018-07-19 11:38:09 +01:00
Repositories Unused Import 2019-04-17 04:07:46 +01:00
.gitignore Modifying SuiteCRM file structure 2017-11-27 14:55:16 +00:00
.htaccess Modifying SuiteCRM file structure 2017-11-27 14:55:16 +00:00
Keys.php single_blank_line_at_eof 2018-07-19 11:38:09 +01:00
README.md Modifying SuiteCRM file structure 2017-11-27 14:55:16 +00:00

OAuth 2 Server

Generating public and private keys

To generate the private key run this command on the terminal: openssl genrsa -out private.key 1024

extract the public key from the private key: openssl rsa -in private.key -pubout -out public.key

Generating encryption keys

To generate an encryption key for the AuthorizationServer run the following command in the terminal:

php -r 'echo base64_encode(random_bytes(32)), PHP_EOL;'