SSL errors, while trying to add a certificate
So, I am following this guide, but when I try to execute this command
Code:
http://dev.antoinesolutions.com/openssl/certificate-authority Code:
# openssl req -config openssl.cnf -new -x509 -extensions v3_ca -keyout private/ca.key -out certs/ca.crt -days 3650 |
error pretty clearly states that there is no openssl.cnf file.
|
I get it, but this error appears, when I am trying to create a certificate file.
|
right. but if the file doesn't exist, and you're telling it to use the file it's going to error, however much you don't want it to.
|
So, you're saying, that guide might be missing steps?
Do I have to create these files manually? Just empty files, right? Where should these files be created? |
it's not missing anything, it's just presuming you have a config file you wish to use, which seems reasonable to me. if you don't have one specifically updated, the default one will probably suit you fine, just answer more default questions. remove "-config openssl.cnf" and try again. the default is /etc/pki/tls/openssl.cnf usually
|
acid_kewpie,
I did it, I have deleted the -config openssl.cnf from the command, but there is another error, that is popping up. Quote:
|
thought about using a better guide?
that says there is no "private" directory. |
I just checked, there is a dir "private" at /etc/pki/CA/private
Do you know any nice guide, that could help me out with installing SSL\SHTP? |
yes, that's where the directory should be, and you should already be in that directory... are you? and you're doing all this as root, right?
|
acid_kewpie,
yes, I am doing it inside the private dir. Quote:
Quote:
|
no, not there, as per the doc you linked, /etc/pki/CA
|
ok, so I did cd .. and it look like, it worked, because it asks me for a passphrase.
|
But, when I try to start httpd service, I still get this error
Quote:
|
OK, you really need to start actually READING the errors, not just posting them... does it exist? is it empty?
|
All times are GMT -5. The time now is 10:18 AM. |