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?
SSL Cert on new OVA
Re: SSL Cert on new OVA
What version of certbot are you using?
Can you paste the full output from when you try running certbot manually from the command line?
Can you run the following script and PM me the resulting /tmp/httpd-conf.tar.gz?
Can you paste the full output from when you try running certbot manually from the command line?
Code: Select all
certbot renewCode: 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.
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.
Re: SSL Cert on new OVA
[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.
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.
Re: SSL Cert on new OVA
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
Excellent. We'll go ahead and close this out.This is no longer an issue for me, thanks for responding!
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!