Skip to content

Can't create Let's Encrypt SSL Certificate #15

@HydrelioxGitHub

Description

@HydrelioxGitHub

Problem/Motivation

Can't add SSL Certificates with Let's Encrypt

Expected behavior

Can use Let's Encrypt SSL with my nginx hosts

Actual behavior

When I try to add a new SSL Certificate using webui. I've just a popup with "Internal Error"

This is my log

 [5/11/2019] [11:28:56 PM] [SSL      ] › ℹ  info      Requesting Let'sEncrypt certificates for Cert #10: xxx.duckdns.org

[5/11/2019]` [11:29:08 PM] [Nginx    ] › ℹ  info      Reloading Nginx

[5/11/2019] [11:29:08 PM] [Express  ] › ⚠  warning   Command failed: /usr/bin/certbot certonly --cert-name "npm-10" --agree-tos --email "[email protected]" --preferred-challenges "http" -n -a webroot -d "xxx.duckdns.org" 

Saving debug log to /data/logs/letsencrypt/letsencrypt.log

Plugins selected: Authenticator webroot, Installer None

Obtaining a new certificate

Performing the following challenges:

http-01 challenge for xxx.duckdns.org

Using the webroot path /data/letsencrypt-acme-challenge for all unmatched domains.

Waiting for verification...

Cleaning up challenges

Failed authorization procedure. xxx.duckdns.org (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://xxx.duckdns.org/.well-known/acme-challenge/xxx: Connection refused

Steps to reproduce

Just try to add a new SSL Certificate via webui

I've tried to use the duckdns hassio addon with Let's Encrypt and I can successfully access to HA using https without any problem.

Proposed changes

I have no idea on how to fix this ? Is my setup broken ? Is this an addon problem ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions