Author Topic: upgrade 6.2 to 7.0 - CA problem  (Read 923 times)

branislav.kopun

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
upgrade 6.2 to 7.0 - CA problem
« 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

vshaulsk

  • Zen Samurai
  • ****
  • Posts: 477
  • Karma: +9/-1
    • View Profile
Re: upgrade 6.2 to 7.0 - CA problem
« Reply #1 on: March 15, 2021, 12:21:26 am »
No that it helps, but I have the same issue

Sand_man

  • Zen Samurai
  • ****
  • Posts: 280
  • Karma: +24/-0
    • View Profile
Re: upgrade 6.2 to 7.0 - CA problem
« Reply #2 on: March 15, 2021, 02:59:25 pm »
And mine.

ggowins

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +5/-0
    • View Profile
Re: upgrade 6.2 to 7.0 - CA problem
« Reply #3 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. 

Sand_man

  • Zen Samurai
  • ****
  • Posts: 280
  • Karma: +24/-0
    • View Profile
Re: upgrade 6.2 to 7.0 - CA problem
« Reply #4 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!

Daniel Joven

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 31
  • Karma: +19/-0
    • View Profile
Re: upgrade 6.2 to 7.0 - CA problem
« Reply #5 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.

vshaulsk

  • Zen Samurai
  • ****
  • Posts: 477
  • Karma: +9/-1
    • View Profile
Re: upgrade 6.2 to 7.0 - CA problem
« Reply #6 on: March 19, 2021, 12:10:31 pm »
Has zentyal-ca 7.0.1 been pushed out yet ?   

havacuban

  • Zen Monk
  • **
  • Posts: 52
  • Karma: +5/-0
    • View Profile
Re: upgrade 6.2 to 7.0 - CA problem
« Reply #7 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
« Last Edit: March 20, 2021, 11:59:48 pm by havacuban »

branislav.kopun

  • Zen Apprentice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: upgrade 6.2 to 7.0 - CA problem
« Reply #8 on: June 24, 2021, 09:57:43 pm »
This worked
Code: [Select]
sudo chown ebox:ebox /var/lib/zentyal/.rnd
« Last Edit: June 25, 2021, 07:41:36 pm by branislav.kopun »