Failed to get certificate: acme: Error 403

Hi guys,
i’m new to running app in production and i’m trying to serve a static website with caddy by https.
In order to do this, on my ovh server via ssh i installed caddy then i place myself where my static website builded for production is.
Then i’m launching this command and i get this 403 error :


What i’m doing wrong ? :slight_smile:

Hi @BobLamarley,

I did a quick check which indicated that Caddy was up and running with a valid certificate at the website in question:

whitestrake at apollo in ~
❯ curl -IL http://thomas-mignon.fr/
HTTP/1.1 301 Moved Permanently
Connection: close
Content-Type: text/html; charset=utf-8
Location: https://thomas-mignon.fr/
Server: Caddy
Date: Sun, 23 Sep 2018 23:48:34 GMT

HTTP/2 200
accept-ranges: bytes
content-type: text/html; charset=utf-8
etag: "pfewcta6"
last-modified: Fri, 21 Sep 2018 15:29:17 GMT
server: Caddy
content-length: 366
date: Sun, 23 Sep 2018 23:48:36 GMT

Are you still experiencing the 403 error?

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