Page 1 of 1

v-update-letsencrypt-ssl cron failing with 400, yet works when run manually?

Posted: Thu Jun 04, 2020 6:26 am
by youradds
I'm getting this error in my cron
Cron <admin@west> sudo /usr/local/vesta/bin/v-update-letsencrypt-ssl

west.myserver.com Error: Let's Encrypt validation status 400
And sure enough, the SSL certificate with LE wasn't renewed. Yet when I run it as root in SSH, it works?

Code: Select all

sudo /usr/local/vesta/bin/v-update-letsencrypt-ssl
Can't load /root/.rnd into RNG
140173603434944:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
Any ideas?

Andy