We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
[Problem] There is no suitable CSPRNG installed on your system
-
- Posts: 7
- Joined: Mon Mar 13, 2017 1:17 am
[Problem] There is no suitable CSPRNG installed on your system
Good Day.
Please help, how to do this on VESTA Panel?
-I have phpBB forum,
-DigitalOcean VPS
-Ubuntu Server OS
Here is the screenshot:
Additional Note:
https://gyazo.com/28a5e91c1259dc5e6770061598df47de.png
It depends on what system you use (cPanel / Plesk). Both of you need to contact your host since the fact the "no suitable CSPRNG" message is being triggered means that none of libsodium, mcrypt, OpenSSL, or com_dotnet are installed (all PHP extensions) and on a Linux platform /dev/urandom can't be read.
If you are on a Plesk driven box and/or your host has Open Base directory enabled this will be caused because version 2.0 stopped using OpenSSL and now it uses /dev/urandom which may not be readable by your PHP configuration. This is fixed adding /dev/urandom to your open_base configuration in “Websites & Domains -> PHP Settings -> open_basedir”: (source: https://tech.enekochan.com/en/2016/06/0 ... tem-plesk/)
In any case you should connect with your host since they should correct these issue on their respective servers.
Thank you
Please help, how to do this on VESTA Panel?
-I have phpBB forum,
-DigitalOcean VPS
-Ubuntu Server OS
Here is the screenshot:
Additional Note:
https://gyazo.com/28a5e91c1259dc5e6770061598df47de.png
It depends on what system you use (cPanel / Plesk). Both of you need to contact your host since the fact the "no suitable CSPRNG" message is being triggered means that none of libsodium, mcrypt, OpenSSL, or com_dotnet are installed (all PHP extensions) and on a Linux platform /dev/urandom can't be read.
If you are on a Plesk driven box and/or your host has Open Base directory enabled this will be caused because version 2.0 stopped using OpenSSL and now it uses /dev/urandom which may not be readable by your PHP configuration. This is fixed adding /dev/urandom to your open_base configuration in “Websites & Domains -> PHP Settings -> open_basedir”: (source: https://tech.enekochan.com/en/2016/06/0 ... tem-plesk/)
In any case you should connect with your host since they should correct these issue on their respective servers.
Thank you
Re: [Problem] There is no suitable CSPRNG installed on your system
You can try add /dev/urandom to your open_basedir
On server you can have something like - /home/user/conf/web/apache2.conf:
Add /dev/urandom and restart webserver:
(or httpd if you're on CentOS)
On server you can have something like - /home/user/conf/web/apache2.conf:
Code: Select all
php_admin_value open_basedir /home/user/web/domain.ru/public_html:/home/user/tmp
Code: Select all
php_admin_value open_basedir /home/user/web/domain.ru/public_html:/home/user/tmp:/dev/urandom
Code: Select all
service apache2 restart
Re: [Problem] There is no suitable CSPRNG installed on your system
The solution from skurudo above will work, but be aware that if you ever rebuild your web config, changes in your apache2.conf file will be overwritten. For a permanent solution you'd have to edit the templates in /usr/local/vesta/data, or better still create a new template and select it for the domain.
I had to do this for a nextcloud/owncloud installation, which needed many openbasedir adjustments.
I had to do this for a nextcloud/owncloud installation, which needed many openbasedir adjustments.
-
- Posts: 7
- Joined: Mon Mar 13, 2017 1:17 am
Re: [Problem] There is no suitable CSPRNG installed on your system
Thank you for the replies ...
skurudo and plutocrat your answer must be done on my DigitalOcean Console?
Sorry still newbie
skurudo and plutocrat your answer must be done on my DigitalOcean Console?
Sorry still newbie
Re: [Problem] There is no suitable CSPRNG installed on your system
Sorry, I don't really know what's DigitalOcean Console is,
I mean ssh console to your VPS. ;)
I mean ssh console to your VPS. ;)
-
- Posts: 7
- Joined: Mon Mar 13, 2017 1:17 am
Re: [Problem] There is no suitable CSPRNG installed on your system
Thank you for the support.
Now its working fine .. :)
Now its working fine .. :)