-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6.25
- Ruby: 2.5.9
- Distribution: CentOS 7 + AlmaLinux 9
- Module version: 8.0.2
How to reproduce (e.g Puppet code you use)
$::fqdn = 'TEST-BOX-1.example.com'
letsencrypt::certonly { 'example':
domains => [$::fqdn, 'mydomain.example.com'],
}What are you seeing
The certificate gets created with test-box-1.example.com,mydomain.example.com.
But when the letsencrypt-domain-validation script runs as part of the unless:
Debug: Exec[letsencrypt certonly postfix](provider=shell): Executing check '["/bin/sh", "-c", "/usr/local/sbin/letsencrypt-domain-validation /etc/letsencrypt/live/example/cert.pem 'TEST-BOX-1.example.com' 'mydomain.example.com'"]'
This fails because the domains in the certificate do not match the input (due to case sensitivity)
What behaviour did you expect instead
The script should convert input to lowercase
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels