Ticket #1699 (closed defect: fixed)
Error creating CA
| Reported by: | anonymous | Owned by: | ejhernandez@… |
|---|---|---|---|
| Milestone: | 1.4 | Component: | ca |
| Severity: | major | Keywords: | |
| Cc: |
Description
Output after submitting "General" information
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 27854:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/home/eboxCA/private/cakey.pem','w') 27854:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354: error in req
Attachments
Change History
comment:2 Changed 3 years ago by ejhernandez@…
- Status changed from new to closed
- Resolution set to fixed
The bug appears when you create a system user called ebox. This makes the home directory set to /home/ebox which is wrong.
You should change the ebox home to /var/lib/ebox and create another system user. This bug is fixed in the new installer for 1.4 which prevents user from creating a system user called ebox.
Seems there is some typo-bug. A '/' is missing: "/home/eboxCA/private" instead of "/home/ebox/CA/private/". I also wonder why the CA should be created in the home dir and not in the ebox(-ca) configuration dir.