aboutsummaryrefslogtreecommitdiff
path: root/ge.c
diff options
context:
space:
mode:
Diffstat (limited to 'ge.c')
-rw-r--r--ge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ge.c b/ge.c
index 75d81b2..36fefea 100644
--- a/ge.c
+++ b/ge.c
@@ -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)