proxmox certificates domain cant start with number

svirus

Active Member
Jul 3, 2018
21
0
41
39
Hello,
Why in proxmox I can't register domain starting with number ?
I see error
"acme: invalid format - format error acme.domains: invalid format - value does not look like a valid domain name at /usr/share/perl5/PVE/NodeConfig.pm line 19."

After changing lable from:
my $label = qr/[a-z][a-z0-9_-]*/i;
to:
my $label = qr/[a-z0-9][a-z0-9_-]*/i;

everything works, and domains is register and validated
 
Hi,

you're completely right, those should be valid! I pushed a fix to our pve-manager git repository with your suggested regex change. Should be packaged soon.

much thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!