From adaae5163ca666bda00116a9efebcf0b1e6a8194 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Wed, 18 Oct 2023 17:47:29 +0000 Subject: rework gencert(); make gemexp generate EC certs Taking inspiration from acme-client. --- ge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ge.c') diff --git a/ge.c b/ge.c index 6cede75..d2148c6 100644 --- a/ge.c +++ b/ge.c @@ -100,7 +100,7 @@ load_local_cert(struct vhost *h, const char *hostname, const char *dir) fatal("asprintf"); if (access(cert, R_OK) == -1 || access(key, R_OK) == -1) - gen_certificate(hostname, cert, key); + gencert(hostname, cert, key, 1); h->cert = tls_load_file(cert, &h->certlen, NULL); if (h->cert == NULL) -- cgit v1.2.3