SSL Cert on new OVA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wsando
Posts: 12
Joined: Fri Feb 07, 2014 5:10 pm

SSL Cert on new OVA

Post by wsando »

I must be having a case of the dumbs....
Deployed new OVA instance using CentOS7, restored our config from CentOS6 OVA, when to install Certbot to grab an SSL cert from LetsEncrypt and Certbot not able to find an Apache server listening. Fine I say, I will just dump the wildcard cert I have for my domain on it, go to look at the apache config and there is no virtualHost section.

Help?
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: SSL Cert on new OVA

Post by dchurch »

What version of certbot are you using?

Can you paste the full output from when you try running certbot manually from the command line?

Code: Select all

certbot renew
Can you run the following script and PM me the resulting /tmp/httpd-conf.tar.gz?

Code: Select all

tar czf /tmp/httpd-conf.tar.gz /etc/httpd*
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
wsando
Posts: 12
Joined: Fri Feb 07, 2014 5:10 pm

Re: SSL Cert on new OVA

Post by wsando »

[root@nagios certs]# certbot --version
certbot 1.13.0



[root@nagios certs]# certbot -d nagios.alplighting.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Requesting a certificate for nagios.alplighting.com
Performing the following challenges:
http-01 challenge for nagios.alplighting.com
Cleaning up challenges
Error while running apachectl graceful.

Job for httpd.service invalid.

Unable to restart apache using ['apachectl', 'graceful']
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
wsando
Posts: 12
Joined: Fri Feb 07, 2014 5:10 pm

Re: SSL Cert on new OVA

Post by wsando »

I ended up following the SSL guide to get my wildcard cert working. This is no longer an issue for me, thanks for responding!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: SSL Cert on new OVA

Post by benjaminsmith »

This is no longer an issue for me, thanks for responding!
Excellent. We'll go ahead and close this out.

Have a great weekend!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked