When you see the following error under System > User Management > OAuth Applications “OAuth authorization is not available as encryption keys configuration was not complete. Please contact your administrator.” you can solve it as follows:
Change to the var directory of your orocommerce installation. Change path as needed.
cd /var/www/oroshop/var
Issue the following two commands:
$ sudo -u www-data openssl genrsa -out oauth_private.key 2048 Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ .............+++++ e is 65537 (0x010001) $ sudo -u www-data openssl rsa -in oauth_private.key -outform PEM -pubout -out oauth_public.key writing RSA key