Help will pay cash to fix server

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:dailydeal.com

I ran this command:sudo certbot renew --nginx -d dailydeal.com -d www.dailydeal.com

It produced this output:ERR_CONNECTION_REFUSED all sites in droplet on ubuntu digital ocean

My web server is (include version): ubunutu

The operating system my web server runs on is (include version):apache

My hosting provider, if applicable, is:digitalocean

I can login to a root shell on my machine (yes or no, or I don't know):yes putty

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 0.31.0

Have you tried?:
sudo certbot renew

What shows?:
sudo certbot certificates

3 Likes

Ok, I'll take on the challenge - LOL

3 Likes

Pretty sure I tried every command under the sun!

1 Like

First, an Apache server is listening on port 80 (and 443) so you can quit trying to use the --nginx plug-in :slight_smile:

So, you got two certs just a couple hours ago although the only domain name in the cert is the root name. The missing www subdomain is not the biggest problem right now.

But, your server is using a cert with the allhotels.com domain (and its www subdomain). Your IP address for dailydeal.com is wrong or your Apache config is faulty. Do you recognize allhotels? Is your Apache version 2.4.18?

What does this show?

sudo apachectl -t -D DUMP_VHOSTS

3 Likes

Back on track:

  • All certs valid
  • All sites secured
  • No more errors

certbot certificates

Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
  Certificate Name: cheaptextbooks.com
    Domains: cheaptextbooks.com www.cheaptextbooks.com
    Expiry Date: 2024-01-23 11:03:15+00:00 (VALID: 42 days)
    Certificate Path: /etc/letsencrypt/live/cheaptextbooks.com/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/cheaptextbooks.com/privkey.pem
  Certificate Name: coolfonts.com
    Domains: coolfonts.com www.coolfonts.com
    Expiry Date: 2024-03-11 02:39:24+00:00 (VALID: 89 days)
    Certificate Path: /etc/letsencrypt/live/coolfonts.com/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/coolfonts.com/privkey.pem
  Certificate Name: dailydeal.com-0001
    Domains: dailydeal.com www.dailydeal.com
    Expiry Date: 2024-03-11 03:00:44+00:00 (VALID: 89 days)
    Certificate Path: /etc/letsencrypt/live/dailydeal.com-0001/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/dailydeal.com-0001/privkey.pem
  Certificate Name: freeonmessagedomains.com
    Domains: freeonmessagedomains.com www.freeonmessagedomains.com
    Expiry Date: 2024-02-22 12:39:26+00:00 (VALID: 72 days)
    Certificate Path: /etc/letsencrypt/live/freeonmessagedomains.com/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/freeonmessagedomains.com/privkey.pem
  Certificate Name: namedream.com-0001
    Domains: namedream.com
    Expiry Date: 2024-02-18 00:06:43+00:00 (VALID: 67 days)
    Certificate Path: /etc/letsencrypt/live/namedream.com-0001/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/namedream.com-0001/privkey.pem
  Certificate Name: namedream.com
    Domains: namedream.com www.namedream.com
    Expiry Date: 2024-02-22 12:39:32+00:00 (VALID: 72 days)
    Certificate Path: /etc/letsencrypt/live/namedream.com/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/namedream.com/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

sudo apachectl -t -D DUMP_VHOSTS

VirtualHost configuration:
*:443                  is a NameVirtualHost
         default server cheaptextbooks.com (/etc/apache2/sites-enabled/cheaptextbooks.com-le-ssl.conf:1)
         port 443 namevhost cheaptextbooks.com (/etc/apache2/sites-enabled/cheaptextbooks.com-le-ssl.conf:1)
                 alias www.cheaptextbooks.com
         port 443 namevhost dailydeal.com (/etc/apache2/sites-enabled/dailydeal.com-le-ssl.conf:1)
                 alias www.dailydeal.com
         port 443 namevhost freeonmessagedomains.com (/etc/apache2/sites-enabled/freeonmessagedomains.com.conf:21)
                 alias www.freeonmessagedomains.com
         port 443 namevhost namedream.com (/etc/apache2/sites-enabled/namedream.com-le-ssl.conf:1)
                 alias www.namedream.com
*:80                   is a NameVirtualHost
         default server cheaptextbooks.com (/etc/apache2/sites-enabled/cheaptextbooks.com.conf:1)
         port 80 namevhost cheaptextbooks.com (/etc/apache2/sites-enabled/cheaptextbooks.com.conf:1)
                 alias www.cheaptextbooks.com
         port 80 namevhost dailydeal.com (/etc/apache2/sites-enabled/dailydeal.com-le-ssl.conf:25)
                 alias www.dailydeal.com
         port 80 namevhost dailydeal.com (/etc/apache2/sites-enabled/dailydeal.com.conf:1)
                 alias www.dailydeal.com
         port 80 namevhost freeonmessagedomains.com (/etc/apache2/sites-enabled/freeonmessagedomains.com.conf:1)
                 alias www.freeonmessagedomains.com
         port 80 namevhost namedream.com (/etc/apache2/sites-enabled/namedream.com.conf:1)
                 alias www.namedream.com
root@Droplet5:~# service apache2 restart
root@Droplet5:~#
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.