From db18fa013bfeaba57b5385f679453f8d9799abbd Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 2 Sep 2021 12:46:20 +0200 Subject: [PATCH] remove old file --- docs/debug-reset-tls.md | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 docs/debug-reset-tls.md diff --git a/docs/debug-reset-tls.md b/docs/debug-reset-tls.md deleted file mode 100644 index b2584e0f4..000000000 --- a/docs/debug-reset-tls.md +++ /dev/null @@ -1,17 +0,0 @@ -In case you encounter problems with your certificate, key or Let's Encrypt account, please try to reset the TLS assets: - -``` -source mailcow.conf -docker-compose down -rm -rf data/assets/ssl -mkdir data/assets/ssl -openssl req -x509 -newkey rsa:4096 -keyout data/assets/ssl-example/key.pem -out data/assets/ssl-example/cert.pem -days 365 -subj "/C=DE/ST=NRW/L=Willich/O=mailcow/OU=mailcow/CN=${MAILCOW_HOSTNAME}" -sha256 -nodes -cp -n -d data/assets/ssl-example/*.pem data/assets/ssl/ -docker-compose up -d -``` - -This will stop mailcow, source the variables we need, create a self-signed certificate and start mailcow. - -If you use Let's Encrypt you should be careful as you will create a new account and a new set of certificates. You will run into a ratelimit sooner or later. - -Please also note that previous TLSA records will be invalid.