Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: branislav.kopun on March 13, 2021, 09:57:54 pm

Title: upgrade 6.2 to 7.0 - CA problem
Post by: branislav.kopun on March 13, 2021, 09:57:54 pm
All seems working but after focus to Certification Authority / General I get only red frame with:
Unknown error. Given the OpenSSL output: Using configuration from /var/lib/zentyal/conf/openssl.cnf Can't load /var/lib/zentyal/.rnd into RNG 140692167914816:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:98:Filename=/var/lib/zentyal/.rnd Cannot write random bytes: 140692167914816:error:24070079:random number generator:RAND_write_file:Cannot open file:../crypto/rand/randfile.c:233:Filename=/var/lib/zentyal/.rnd

chmod of file /var/lib/zentyal/.rnd is same 0600 root:root
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: vshaulsk on March 15, 2021, 12:21:26 am
No that it helps, but I have the same issue
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: Sand_man on March 15, 2021, 02:59:25 pm
And mine.
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: ggowins on March 17, 2021, 04:29:46 am
I'm getting this as well post-upgrade.   I chown'd the .rnd to ebox:ebox and that seems to have resolved it. 
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: Sand_man on March 17, 2021, 08:37:38 am
I'm getting this as well post-upgrade.   I chown'd the .rnd to ebox:ebox and that seems to have resolved it.

Thanks It works!
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: Daniel Joven on March 17, 2021, 12:26:32 pm
Hi,

Just to inform you that the issue is fixed in the package's version 'zentyal-ca 7.0.1'.

Best regards, Daniel Joven.
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: vshaulsk on March 19, 2021, 12:10:31 pm
Has zentyal-ca 7.0.1 been pushed out yet ?   
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: havacuban on March 20, 2021, 06:04:09 pm
Hello
I keep the problem
Zentyal-CA 7.0.1

Error desconocido. Se ofrece la salida de OpenSSL: Can't load /var/lib/zentyal/.rnd into RNG 140351545197888:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:98:Filename=/var/lib/zentyal/.rnd Generating a RSA private key ..................++++ .....................................................................++++ writing new private key to '/var/lib/zentyal/CA/private/cakey.pem' ----- Cannot write random bytes: 140351545197888:error:24070079:random number generator:RAND_write_file:Cannot open file:../crypto/rand/randfile.c:233:Filename=/var/lib/zentyal/.rnd

Solved the problem

remove zentyal-ca
delete .rd in / var / lib / zentyal
install zentyal-ca
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: branislav.kopun on June 24, 2021, 09:57:43 pm
This worked
Code: [Select]
sudo chown ebox:ebox /var/lib/zentyal/.rnd
Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: gabor.strama on March 08, 2022, 09:43:16 pm
Hi,

This solution is worked for me...


This worked
Code: [Select]
sudo chown ebox:ebox /var/lib/zentyal/.rnd

BR,
GáborS

Title: Re: upgrade 6.2 to 7.0 - CA problem
Post by: MikeAllen on March 12, 2022, 03:48:59 am
Setting ownership on that file resolved the same issue for me. Thanks!