From 6d798d72e0a2d269e92e8769839faee909b04052 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 5 Oct 2021 21:57:56 -0400 Subject: Remove certbot default paths --- bounce.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'bounce.c') diff --git a/bounce.c b/bounce.c index ae75dc6..2e52428 100644 --- a/bounce.c +++ b/bounce.c @@ -309,16 +309,10 @@ int main(int argc, char *argv[]) { } } if (!certPath[0]) { - snprintf( - certPath, sizeof(certPath), CERTBOT_PATH "/live/%s/fullchain.pem", - bindHost - ); + snprintf(certPath, sizeof(certPath), "%s.pem", bindHost); } if (!privPath[0]) { - snprintf( - privPath, sizeof(privPath), CERTBOT_PATH "/live/%s/privkey.pem", - bindHost - ); + snprintf(privPath, sizeof(privPath), "%s.key", bindHost); } if (!host) errx(EX_USAGE, "host required"); -- cgit 1.4.1