Using Certbot Apache on Debian 8 google cloud platform

My domain is:

I ran this command: $ certbot --apache

It produced this output:

The following error was encountered:
[Errno 13] Permission denied: '/var/log/letsencrypt/letsencrypt.log’
If running as non-root, set --config-dir, --logs-dir, and --work-dir to writeable paths.

My operating system is (include version): Debian 8.6

My hosting provider, if applicable, is: Google cloud platform

I can login to a root shell on my machine (yes or no, or I don’t know): trying to access through the google could shell

i guess
$ sudo certbot --apache

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.