Page MenuHomeDevCentral

Fix owncloud nginx configuration to allow Let's encrypt acme validation
Closed, ResolvedPublic

Description

Ysul
$ certbot renew
[...]
 - The following errors were reported by the server:

   Domain: cloud.dereckson.be
   Type:   unauthorized
   Detail: Invalid response from
   http://cloud.dereckson.be/.well-known/acme-challenge/h5O-bwrPW8Xk3nj9ZwsVLTvPILutEImAh5p809cCOgU:
   "<!DOCTYPE html>
   <!--[if lte IE 8]><html class="ng-csp ie ie8 lte9 lte8"
   data-placeholder-focus="false" lang="en" ><![endif]-->
   <"

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A record(s) for that domain
   contain(s) the right IP address.

Event Timeline

No issue ownCloud related: the Let's encrypt location block was in 80 server block, not in 443 one.

We learn here Let's encrypt contact 443 to renew certificates.