diff options
author | June McEnroe <june@causal.agency> | 2021-10-05 21:57:56 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-10-05 21:57:56 -0400 |
commit | 6d798d72e0a2d269e92e8769839faee909b04052 (patch) | |
tree | 21650ca7587f48e03ce72b4cab94b2bbe42e9906 /bounce.c | |
parent | Remove TCP keepalive settings (diff) | |
download | pounce-6d798d72e0a2d269e92e8769839faee909b04052.tar.gz pounce-6d798d72e0a2d269e92e8769839faee909b04052.zip |
Remove certbot default paths
Diffstat (limited to '')
-rw-r--r-- | bounce.c | 10 |
1 files changed, 2 insertions, 8 deletions
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"); |