From c78364cc4d0a9172da3ca87dbcd1b81b242b1b4e Mon Sep 17 00:00:00 2001 From: Gustav Behm Date: Fri, 1 Dec 2023 00:47:26 +0100 Subject: [PATCH] ACME parametrization attempt #2 --- openbsd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openbsd b/openbsd index b4e6441..863fa39 100755 --- a/openbsd +++ b/openbsd @@ -877,10 +877,10 @@ class Rlib: cls.append(f'domain {fqdn} {{') cls.append(f' domain key "/etc/ssl/private/{fqdn}.key"') cls.append(f' domain full chain certificate "/etc/ssl/{fqdn}.fullchain.pem"') - cls.append(f' alternative names {" ".join(aliases)}') + cls.append(f' alternative names {{ {" ".join(aliases)} }}') if d.get("staging"): self.logger.debug("using letsencypt's staging signer") - cls.append(' sign with letsencrypt-staging"') + cls.append(' sign with letsencrypt-staging') cls.append(' #sign with letsencrypt') else: cls.append(' sign with letsencrypt') @@ -914,7 +914,8 @@ class Rlib: "dst": "/etc/rc.d/acme", "mode": 0o555, } - ] + ], + "service": "acme", } class Autoinstall: