diff options
author | Omar Polo <op@omarpolo.com> | 2023-10-18 17:47:29 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-10-18 17:47:29 +0000 |
commit | adaae5163ca666bda00116a9efebcf0b1e6a8194 (patch) | |
tree | 007171910bcfb2a55fd43adf34730a5e0f86c4ba /ge.c | |
parent | 43b38b2dbbefbb68d9eff1d0fb76238308700f1b (diff) |
rework gencert(); make gemexp generate EC certs
Taking inspiration from acme-client.
Diffstat (limited to 'ge.c')
-rw-r--r-- | ge.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |