My domain is: homebitwarden.ddnss.de
I ran this command: I tried to create SSL for my DDNS domain but got an internal error
It produced this output: NGINX "Internal Error"
My web server is (include version): raspberry pi4
The operating system my web server runs on is (include version): raspbian
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
Hello, I have a problem with the SSL-Certificate in NGINX. I doesn't work. I get the error "Internal Error". What can I do now? Need help.
I can reach the app on the raspberry pi from the internal IP an i can reach it the app from extern over the dns, but only http://.
Here the logs from letsencrypt:
GNU nano 5.4 /var/log/letsencrypt/letsencrypt.log *
#2023-01-04 08:44:00,071:DEBUG:certbot._internal.main:certbot version: 1.12.0
2023-01-04 08:44:00,072:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2023-01-04 08:44:00,072:DEBUG:certbot._internal.main:Arguments:
2023-01-04 08:44:00,072:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoi>
2023-01-04 08:44:00,093:DEBUG:certbot._internal.log:Root logging level set at 20
2023-01-04 08:44:00,094:INFO:certbot._internal.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2023-01-04 08:44:00,096:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2023-01-04 08:44:00,096:DEBUG:certbot._internal.plugins.selection:No candidate plugin
2023-01-04 08:44:00,097:DEBUG:certbot._internal.plugins.selection:Selected authenticator None and installer None
2023-01-04 08:44:41,700:DEBUG:certbot._internal.main:certbot version: 1.12.0
2023-01-04 08:44:41,701:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2023-01-04 08:44:41,701:DEBUG:certbot._internal.main:Arguments:
2023-01-04 08:44:41,701:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoi>
2023-01-04 08:44:41,722:DEBUG:certbot._internal.log:Root logging level set at 20
2023-01-04 08:44:41,723:INFO:certbot._internal.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2023-01-04 08:44:41,724:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2023-01-04 08:44:41,725:DEBUG:certbot._internal.plugins.selection:Multiple candidate plugins: * standalone
Description: Spin up a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = certbot._internal.plugins.standalone:Authenticator
Initialized: <certbot._internal.plugins.standalone.Authenticator object at 0xb3349ef8>
Prep: True
- webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot._internal.plugins.webroot:Authenticator
Initialized: <certbot._internal.plugins.webroot.Authenticator object at 0xb3349d48>
Prep: True
2023-01-04 08:44:58,131:DEBUG:certbot._internal.plugins.selection:Selected authenticator None and installer None
Log from Portainer:
Portainer Log:
[1/4/2023] [10:53:52 AM] [Nginx ] › (https://fonts.gstatic.com/s/e/notoemoji/15.0/2139/32.png) info Reloading Nginx
[1/4/2023] [10:53:57 AM] [SSL ] › !https://fonts.gstatic.com/s/e/notoemoji/15.0/2139/32.png) info Requesting Let'sEncrypt certificates for Cert #35: homebitwarden.ddns.de
[1/4/2023] [10:53:57 AM] [SSL ] › !https://fonts.gstatic.com/s/e/notoemoji/15.0/2139/32.png) info Command: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-35" --agree-tos --authenticator webroot --email "xxx@e.mail.de" --preferred-challenges "dns,http" --domains "xxx.ddns.de"
[1/4/2023] [10:54:11 AM] [Nginx ] › (https://fonts.gstatic.com/s/e/notoemoji/15.0/2139/32.png) info Reloading Nginx
[1/4/2023] [10:54:11 AM] [Express ] › (https://fonts.gstatic.com/s/e/notoemoji/15.0/26a0/32.png) warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-35" --agree-tos --authenticator webroot --email "xxx@e.mail.de" --preferred-challenges "dns,http" --domains "xxx.ddns.de"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error from NGINX:
Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-40" --agree-tos --authenticator webroot --email "xxx@e.mail.de" --preferred-challenges "dns,http" --domains "homebitwarden.ddns.de"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)