Skip to content

LetsEncrypt: Second Domain: Invaid character "_" #1038

@langfingaz

Description

@langfingaz

Thanks for the recent support to setup a second domain through ncp-config (#1025). By default if one runs the letsencrypt ncp-script, a _ is preselected for both domains.

I just changed the first _ to my desired domain and left the second domain as _. I ran into the following error:

Error message

Cannot issue for "_": Domain name contains an invalid character
Running letsencrypt
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
An unexpected error occurred:
Error creating new order :: Cannot issue for "_": Domain name contains an invalid character
Please see the logfiles in /var/log/letsencrypt for more details.
Done. Press any key...

System information

NextCloudPi diagnostics

NextCloudPi version  v1.19.1
NextCloudPi image    NextCloudPi_docker_07-20-19
distribution         Debian GNU/Linux 10 \n \l
automount            no
USB devices          none
datadir              /data/nextcloud/data
data in SD           yes
data filesystem      btrfs
data disk usage      108G/1.9T
rootfs usage         11G/117G
swapfile             none
dbdir                /data/database
Nextcloud check      ok
Nextcloud version    17.0.1.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        open
port check 443       open
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               7days

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions