Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:cluster.kulturhotell.se
I ran this command:
certbot certonly --webroot --dry-run -w /var/www/cluster.kulturhotell.se -d cluster.kulturhotell.se
Error message:
Encountered exception during recovery:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/certbot/plugins/webroot.py”, line 180, in _create_challenge_dirs
os.mkdir(prefix, 0o0755)
PermissionError: [Errno 1] Operation not permitted: ‘/var/www/cluster.kulturhotell.se/.well-known’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 75, in handle_authorizations
resp = self._solve_challenges(aauthzrs)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 139, in _solve_challenges
resp = self.auth.perform(all_achalls)
File “/usr/lib/python3/dist-packages/certbot/plugins/webroot.py”, line 83, in perform
self._create_challenge_dirs()
File “/usr/lib/python3/dist-packages/certbot/plugins/webroot.py”, line 192, in _create_challenge_dirs
“challenge responses: {1}”.format(name, exception))
certbot.errors.PluginError: Couldn’t create root for cluster.kulturhotell.se http-01 challenge responses: [Errno 1] Operation not permitted: ‘/var/www/cluster.kulturhotell.se/.well-known’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/certbot/error_handler.py”, line 108, in _call_registered
self.funcs-1
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 323, in _cleanup_challenges
self.auth.cleanup(achalls)
File “/usr/lib/python3/dist-packages/certbot/plugins/webroot.py”, line 224, in cleanup
os.remove(validation_path)
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/www/cluster.kulturhotell.se/.well-known/acme-challenge/Q-FGOvDRORNcxTno7sKswrWPBLEkcditjTAkbxGFl2k’
Couldn’t create root for cluster.kulturhotell.se http-01 challenge responses: [Errno 1] Operation not permitted: ‘/var/www/cluster.kulturhotell.se/.well-known’
Any idea how to fix this? We run 2 webservers with Haproxy and ISPconfig. Public address points to web-02 atm.
Thanks!