diff options
author | Omar Polo <op@omarpolo.com> | 2023-08-29 09:24:14 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-08-29 09:24:14 +0000 |
commit | f31289a8acc233e8a92029dcfca0eb07ac11e39b (patch) | |
tree | d6cf4c0e3baeb391a29210da7516f9837188ad5d /ge.c | |
parent | b894573ad9c5173af9f4a9403d54ad67e4ba0bcf (diff) |
gemexp: change the naming scheme for the certificates
Using what the manpage advertised. The regress adaptations will
follow. The directory will also change (and the key type too.)
Diffstat (limited to 'ge.c')
-rw-r--r-- | ge.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -104,9 +104,9 @@ load_local_cert(struct vhost *h, const char *hostname, const char *dir) { char *cert, *key; - if (asprintf(&cert, "%s/%s.cert.pem", dir, hostname) == -1) + if (asprintf(&cert, "%s/%s.pem", dir, hostname) == -1) fatal("asprintf"); - if (asprintf(&key, "%s/%s.key.pem", dir, hostname) == -1) + if (asprintf(&key, "%s/%s.key", dir, hostname) == -1) fatal("asprintf"); if (access(cert, R_OK) == -1 || access(key, R_OK) == -1) |