Skip to content

SSL Certificate Issuance Failure #744

@eroc1990

Description

@eroc1990

Hi all,

I'm running into an issue with NPM in where new certificate requests are resulting in an Internal Error message popping up, and no valid LE cert being issued for my subdomain. I'm currently running ver. 2.7.1 of NPM with a MariaDB as a database backend. Both of these are inside Docker containers within my QNAP Container Station, running in Bridge mode so each application has its own host IP address. For any new certificate requests, my requests are failing with an "Internal Error" when attempting to acquire a cert while adding a host. I'm using a standard HTTP challenge to complete this.

I haven't had this kind of issue in the past so I'm not entirely sure what's causing it. My primary DNS is my pi-hole hosted in a separate container on the same host, but I've requested certs before through it without issue, and my domain isn't being blocked on the outbound or inbound route as far as I can tell. I've got other requests to other subdomains operating without issue and the domain's whitelisted. I also had a handful of certs successfully renew recently, so it seems that for existing certificates the function is working correctly. Nothing's changed on my Cloudflare DNS beyond adding the appropriate CNAMEs to accommodate the

Any insight on what might be causing this would be greatly appreciated.

Also, this might be related to #741 but I'm not sure, so feel free to merge this into that if you think they're similar enough.

The relevant excerpt from my logs is pasted below:

[11/28/2020] [2:31:39 AM] [Nginx    ] › ℹ  info      Reloading Nginx                                                               
[11/28/2020] [2:31:40 AM] [Express  ] › ⚠  warning   Command failed: /usr/bin/certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-96" --agree-tos --email "REDACTED@outlook.com" --preferred-challenges "dns,http" --domains "REDACTED.REDACTED.tk"                                                                                                                    
Saving debug log to /var/log/letsencrypt/letsencrypt.log                                                                           
Plugins selected: Authenticator webroot, Installer None                                                                            
Obtaining a new certificate                                                                                                        
Performing the following challenges:                                                                                               
http-01 challenge for REDACTED.REDACTED.tk                                                                                       
Using the webroot path /data/letsencrypt-acme-challenge for all unmatched domains.                                                 
Waiting for verification...                                                                                                        
Challenge failed for domain REDACTED.REDACTED.tk                                                                                 
http-01 challenge for REDACTED.REDACTED.tk                                                                                       
Cleaning up challenges                                                                                                             
Some challenges have failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions