lesaff / serverpilot-letsencrypt

(NO LONGER MAINTAINED) | Bash script to generate and install Let's Encrypt certificate for your websites on your ServerPilot account (Free or Paid Plan)
MIT License
346 stars 84 forks source link

Serbver down after running script #67

Closed daslicht closed 6 years ago

daslicht commented 6 years ago

snip

caroseuk commented 6 years ago

I would delete the ssl file that the script created and restart nginx, that will bring your sites back.

ssh to your sp server as root
cd /etc/nginx-sp/vhosts.d
List all the ssl config files
ls *ssl*
Delete the <appname>.ssl.conf that is causing the problem

Restart nginx sudo service nginx-sp restart

caroseuk commented 6 years ago

The error states it cannot access your site to verify the domain:

Domain: october.ansolas.de Type: connection Detail: Fetching http://october.ansolas.de/.well-known/acme-challenge/pj6vFYOSUsLc7lNLFSAbubgAvRDJqW0tK6oHe6FfXgs: Connection refused

To fix these errors, please make sure that your domain name was entered correctly and the DNS A record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.

daslicht commented 6 years ago

thank you that brought back my other doamins which i have not added, but october.ansolas.de is still broken

was reachable before running the script
daslicht commented 6 years ago

ok now is reachable again ! I try it again now

caroseuk commented 6 years ago

Make sure you are entering the correct app name in the same way it is displayed in server pilot.

daslicht commented 6 years ago

i definately did

daslicht commented 6 years ago

looks like this time it was a success !

daslicht commented 6 years ago

Thank you !