Skip to content

Commit

Permalink
ACME parametrization attempt #2
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Dec 1, 2023
1 parent aed60cf commit c78364c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions openbsd
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -914,7 +914,8 @@ class Rlib:
"dst": "/etc/rc.d/acme",
"mode": 0o555,
}
]
],
"service": "acme",
}

class Autoinstall:
Expand Down

0 comments on commit c78364c

Please sign in to comment.