Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2018 07:24:21 -0700
From:      Paul Beard <paulbeard@gmail.com>
To:        python@FreeBSD.org
Subject:   py-certbot fails, doesn't know where to find nginx.conf 
Message-ID:  <21E3907A-58FC-48C9-907D-B97F30D75042@gmail.com>

next in thread | raw e-mail | index | archive | help
Found that my certificates had expired overnight and a little digging =
turned up why: per hier(1), the conf file is under /usr/local

/usr/local/etc/nginx/nginx.conf

I hate to make a symlink to resolve this if there is a cleaner way: can =
certbot be directed to look in /usr/local/etc instead of /etc?=20

Thanks.=20

####

Cert is due for renewal, auto-renewing...
Could not choose appropriate plugin: The requested uto plugin does not =
appear to be installed
Attempting to renew cert (paulbeard.org) from =
/usr/local/etc/letsencrypt/renewal/paulbeard.org.conf produced an =
unexpected error: The requested uto plugin does not appear to be =
installed. Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /usr/local/etc/letsencrypt/live/paulbeard.org/fullchain.pem (failure)

=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94

/usr/local/bin/certbot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running nginx -c /etc/nginx/nginx.conf -t.

nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2: No such file or =
directory)
nginx: configuration file /etc/nginx/nginx.conf test failed




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21E3907A-58FC-48C9-907D-B97F30D75042>