From 928e0ae3729a063c7390447da9f49043295e0b94 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 18 Apr 2022 14:26:46 +0200 Subject: [PATCH 1/2] describe how to debug certbot trouble and reconnect an existing certificate with nginx config --- deployment/bare_metal/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deployment/bare_metal/install.sh b/deployment/bare_metal/install.sh index 37a002794..9841c3e8c 100755 --- a/deployment/bare_metal/install.sh +++ b/deployment/bare_metal/install.sh @@ -81,6 +81,11 @@ sudo certbot > No names were found in your configuration files. Please enter in your domain > stage1.gradido.net # Note: this will throw an error regarding not beeing able to identify the nginx corresponding # config but produce the required certificate - thats perfectly fine this way +# Troubleshoot: to manually renew a certificate with running nginx use: +# this might be required once to properly have things setup for the cron to autorenew +# sudo certbot --nginx -d example.com -d www.example.com +# Troubleshoot: to check ut if things working you can use +# sudo certbot renew --dry-run # Install logrotate sudo apt-get install -y logrotate From 7b4d801652b9ff43699365a00bab69d2b6b3d342 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 18 Apr 2022 14:29:26 +0200 Subject: [PATCH 2/2] some typo --- deployment/bare_metal/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/bare_metal/install.sh b/deployment/bare_metal/install.sh index 9841c3e8c..0fcf6d847 100755 --- a/deployment/bare_metal/install.sh +++ b/deployment/bare_metal/install.sh @@ -81,8 +81,8 @@ sudo certbot > No names were found in your configuration files. Please enter in your domain > stage1.gradido.net # Note: this will throw an error regarding not beeing able to identify the nginx corresponding # config but produce the required certificate - thats perfectly fine this way -# Troubleshoot: to manually renew a certificate with running nginx use: -# this might be required once to properly have things setup for the cron to autorenew +# Troubleshoot: to manually renew a certificate with running nginx use the following command: +# (this might be required once to properly have things setup for the cron to autorenew) # sudo certbot --nginx -d example.com -d www.example.com # Troubleshoot: to check ut if things working you can use # sudo certbot renew --dry-run