# 2 errors after running certbot --apache

**URL:** <https://community.letsencrypt.org/t/2-errors-after-running-certbot-apache/113239>\
**Category:** Help\
**Created:** [February 14, 2020, 11:38pm UTC](https://community.letsencrypt.org/t/2-errors-after-running-certbot-apache/113239 "2020-02-14T23:38:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mnordhoff](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mnordhoff/32/22583_2.png) [@mnordhoff](https://community.letsencrypt.org/u/mnordhoff)\
**Post date:** [February 15, 2020, 3:46am UTC](https://community.letsencrypt.org/t/2-errors-after-running-certbot-apache/113239/2 "2020-02-15T03:46:53Z")

</div>

> [@cjohnsonsr1](#):
>
> Detail: Fetching  
> [http://cuttinej.com/.well-known/acme-challenge/SY-LwuMjIT6KgBz9ah0ROwoZsjO-FYd8yzcqxK1WNxw:](http://cuttinej.com/.well-known/acme-challenge/SY-LwuMjIT6KgBz9ah0ROwoZsjO-FYd8yzcqxK1WNxw:)  
> Connection refused

That happens when the web server isn't running, or is running but is not listening on port 80.

> [@cjohnsonsr1](#):
>
> If I type in [https://cuttinej.com](https://cuttinej.com) I get the following error page in the browser:  
> Secure Connection Failed
> 
> An error occurred during a connection to [www.cuttinej.com](http://www.cuttinej.com). SSL received a record that exceeded the maximum permissible length.
> 
> Error code: SSL\_ERROR\_RX\_RECORD\_TOO\_LONG

That confusing error message happens when port 443 is configured to do HTTP instead of HTTPS.

At the moment, I get "connection refused" for port 443 too, though.

* * *

Is your web server running? Are your port forwarding settings correct? Is Apache configured correctly for both port 80 and port 443? What does "`sudo apachectl -t -D DUMP_VHOSTS`" output?

---

_[View the full topic](https://community.letsencrypt.org/t/2-errors-after-running-certbot-apache/113239)._
