Fix Lego certificate key naming for edge setup

This commit is contained in:
2026-04-01 12:35:28 +02:00
parent f8c126c938
commit a457a1b8cf

View File

@@ -84,10 +84,11 @@
(string-append "DNS:" subject)))
(define (certificate-key-name certificate)
(string-replace-substring
(car (lego-certificate-configuration-subjects certificate))
"*"
"_"))
(string-map (lambda (chr)
(if (char=? chr #\*)
#\_
chr))
(car (lego-certificate-configuration-subjects certificate))))
(define (lego-common-arguments certificate)
(let ((listen-http (lego-certificate-configuration-listen-http certificate))