Several problems Synology <--> LE

2 months ago I issued 4 certificates on my Synology.
All was fine. Synology has an auto update build in, so once and a while I check the certs.
Last week 1 of the 4 certificates was renewed. The other 3 were not.
I dont have a clue why and was hoping someone could help me out?

Port 80 is forwarded to my Synology and working (1 cert did get a renewal).
All the domains are pointing to the right (external) IP address.

I just tried a manual update a few times.
"/usr/syno/sbin/syno-letsencrypt renew-all"

The logs files are showing these error messages:

	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta n"", "file": "client.cpp:320"}
2017-02-23T12:38:46+01:00 synology-ds-01 syno-letsencrypt: syno-letsencrypt.cpp:288 Failed to renew /usr/syno/etc/certificate/_archive/mJYkN4/. { "error": 102, "msg": "Invalid response from http://subdomain.domain.com/.well-known/acme-challenge/gnIlrC6z0sFdjvxaIcQeD6rjYorNCKEkmrOzawZu_go: "<!DOCTYPE html>
<html lang="en">

I just removed 1 of the 4 certificates to just request a new one.
That’s not working either…

	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta n"", "file": "client.cpp:320"}
]
2017-02-23T12:24:11+01:00 synology-ds-01 synoscgi_SYNO.Core.Certificate.LetsEncrypt_1_create[12252]: certificate.cpp:1359 Failed to create Let'sEncrypt certificate. [1][syno-letsencrypt output is not a json: { "error": 102, "msg": "Invalid response from http://subdomain.domain.com/.well-known/acme-challenge/k2VDY6WcePDH8wSZ7_cwyHw-z1J0tV2H2QwVOicUHzQ: "<!DOCTYPE html>
<html lang="en">
<head>

Never mind.
I’ve fixed this myself.

Problem was the virtual hosts on the Synology.
Once I changed the port for them it was no problem anymore.

2 Likes

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