SSL Renewal Error PHP Fatal error: Uncaught GuzzleHttp

I used to have renewal problems too. What did I do?

  1. Switch to the root user

su -

  1. Go to

cd /etc/letsencrypt/renewal

  1. Long list files

ls

  1. Use cat command or another one to view the contents of this specific file:

cat mydomain.com.conf

  1. Search the section [[webroot_map]] at the end of the file. If missing add it this way (using nano command or another for editing the file):

[[webroot_map]]

mydomain.com = /var/www/mydomain.com/public_html

www.mydomain.com = /var/www/mydomain.com/public_html

That should solve renew issues with letsencrypt.

1 Like