Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: JensJacobsen on August 13, 2008, 02:15:39 pm
-
Create Certification Authority Certificate manager fails to create a certificate on one of my machines.
There is no error message on screen and in the logs (that I can find).
I suspect it is related to that I deleted/disabled an already existing certificate because when I did that there was a message on screen (something like an error occurred in ebox and please contact support) after this no certificates appear in the list and no new certificates can be created (or at least they do not appear on the screen).
So how do I clean out the Certificate Manager and reset everything related to openvpn?
Regards
Jens
-
Hi,
Try this to see if it helps:
sudo rm -rf /var/lib/ebox/CA
If the certificate manager works but the openVPN doesn't, ask again here and I'll tell you how to remove the existing openVPN configuration.
-
Hi Javi
Worked like a charm. Thanks :-)
Regards
Jens
-
hi guys,
I don't even have a /var/lib/ebox/CA directory to delete on my install?? :(
I've got the latest ubuntu build and when I try and configure the CA, it returns the following error:
Unknown error. Given the OpenSSL output: Generating a 1024 bit RSA private key .........................++++++ ......++++++ writing new private key to '/home/eboxCA/private/cakey.pem' /home/eboxCA/private/cakey.pem: No such file or directory 30062:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/home/eboxCA/private/cakey.pem','w') 30062:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354: error in req
I've tried manually creating the directories it says can't be found and whilst the config appears to 'go through' I just get returned to the screen prompting me for org name and certificate lifespan :-(
Any ideas would be greatly appreciated!
-
eBox home is /var/lib/ebox, it is quite strange that eBox user home is /home/ebox.
Best regards,
-
I had the same problem when I used the ISO and registered a user named 'ebox' during installation. After a reinstall with a different username the problem was solved.
-
Guys,
Did you create a user called "ebox" during the installation process? If you did that you can run into troubles very easily...
Calmera has pointed this out already :)
-
Hi,
Try this to see if it helps:
sudo rm -rf /var/lib/ebox/CA
Worked for me, thanks Javi, brilliant
-
Is it still possible to do this on a modern version of Zentyal?
The /var/lib/ebox does not exist