AttributeError: 'NoneType' object has no attribute 'strip'

Okay so then it is definitely failing on one of your apache config files. You can however still generate certs like this using standalone but you will always have to stop your web server. That’s a temp solution but you should find out what you changed in Apache since this problem started.

So if you cannot find the Apache fault now then simply stop the web server and generate your cert and then restart your web server and manually install the new certificates in the Vhost

sudo ./certbot-auto certonly --standalone --agree-tos --rsa-key-size 4096 -d sb.pyroman.io -m youremail@address.com --renew-by-default

1 Like