Hello,
I'm trying to configure SSL with Nagios xi by following the documentation (Nagios xi - Configuring SSL with Nagios xi) from Nagios but having a problem copying the three files (ca.crt, ca.key, ca.csr). When executing the cp command, it tells me "No such file or directory". So I tried to locate the file with the locate command but received no result.
FYI - I installed mod_ssl and generated the key with no problem.
Thanks in advanced.
Need help configuring SSL with Nagios xi
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Need help configuring SSL with Nagios xi
After running these commands:
you should have "ca.crt", "ca.key", and "ca.csr" files created in the directory you are currently in.
Go to the "tmp" directory and try running these commands again.
The newly generated files should be in the "/tmp" directory now.
F.Y.I. Sometimes, locate would not find a new file - you will have to run "updatedb" first.
Hope this helps.
Code: Select all
openssl genrsa -out ca.key 2048
openssl req -new -key ca.key -out ca.csr
openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
Go to the "tmp" directory and try running these commands again.
Code: Select all
cd /tmp
openssl genrsa -out ca.key 2048
openssl req -new -key ca.key -out ca.csr
openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt
F.Y.I. Sometimes, locate would not find a new file - you will have to run "updatedb" first.
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 233
- Joined: Thu May 12, 2011 7:55 am
Re: Need help configuring SSL with Nagios xi
Hi lmiltchev.
I ran the commands again from /tmp directory and it worked. However, it did not create the ca.crt file.
Thanks,
Frederick
I ran the commands again from /tmp directory and it worked. However, it did not create the ca.crt file.
Thanks,
Frederick