Softaculuos Moodle installation error: Unable to generate kid and privatekey, hence can not install Moodle 3.9

Softaculuos Moodle installation error: Unable to generate kid and privatekey, hence can not install Moodle 3.9

When installing Moodle 3.5 via Softaculous auto installer the following error is displayed: Unable to generate kid and privatekey, hence can not install Moodle 3.9

image 8 1024x453 - Softaculuos Moodle installation error: Unable to generate kid and privatekey, hence can not install Moodle 3.9

The problem isn’t with Moodle, but with the Softaculous application. Softaculous creates a temporary file in your installation folder and then uses curl call to access that file and generate the cookie key needed for autologin.. Softaculous failed to create keys in this scenario, most likely because of an issue with the .htaccess file in the installation or parent directory.

To fix this, simply open File Manager and navigate to the destination directory then rename the .htaccess file.

image 10 - Softaculuos Moodle installation error: Unable to generate kid and privatekey, hence can not install Moodle 3.9

or from the terminal:

cd /home/USER/public_html/
mv .htaccess .htaccessOLD

Then go back to Softaculous and run the installation process again.

image 9 - Softaculuos Moodle installation error: Unable to generate kid and privatekey, hence can not install Moodle 3.9

If you are still having problems, open a support ticket to Softaculous here: https://softaculous.deskuss.com/open.php

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.