After installing py-certbot, the following pkg-message is displayed: =========================================================================== The Let's Encrypt Client is BETA SOFTWARE. It contains plenty of bugs and rough edges, and should be tested thoroughly in staging environments before use on production systems. This port installs the "standalone" Python client only, which does not use and is not the letsencrypt-auto bootstrap/wrapper script. To obtain certificates, use the 'certonly' command as follows: # sudo certbot --server <server-URL> certonly Note: The client currently requires the ability to bind on TCP port 80. If you have a server running on this port, it will need to be temporarily stopped so that the standalone server can listen on that port to complete authentication. The letsencrypt plugins to support apache and nginx certificate installation will be made available soon in the following ports: * Apache plugin: security/py-letsencrypt-apache * Nginx plugin: security/py-letsencrypt-nginx =========================================================================== The "# sudo certbot --server <server-URL> certonly" line there is incorrect, and generates a misleading error message. eg the line "seems like" the right kind of thing, but doesn't actually work + barfs with a misleading error message. :( The associated log files talk about "Connection refused", which is weird as I'd specified to spin up a standalone web server each time. It turns out the solution is to use a slightly different command line: # certbot certonly --standalone -d [server FQDN] eg: # certbot certonly --standalone -d lists.sqlitebrowser.org This works as expected, generating certs etc. So, the pkg-message should probably be updated to reflect that. :)
Created attachment 182082 [details] patch - Update pkg-descr and pkg-message to cope with the renaming to "certbot" and fix the example certonly command.
Thanks Carlos, looks good to me. :)
@Carlos, If you could commit the pkg-message update first and separately so that it can be merged to the quarterly branch that would be great Assign to Carlos as he'll be taking care of resolution
A commit references this bug: Author: cpm Date: Wed Apr 26 15:41:49 UTC 2017 New revision: 439461 URL: https://svnweb.freebsd.org/changeset/ports/439461 Log: security/py-certbot: fix incorrect instructions in pkg-message - Fix the example certonly command While here, update pkg-message to cope with the renaming to "certbot" PR: 218758 Submitted by: cpm (based on) Reported by: Justin Clift <justin@postgresql.org> Approved by: koobs (maintainer) MFH: 2017Q2 Changes: head/security/py-certbot/pkg-message
A commit references this bug: Author: cpm Date: Wed Apr 26 16:23:21 UTC 2017 New revision: 439463 URL: https://svnweb.freebsd.org/changeset/ports/439463 Log: MFH: r439461 security/py-certbot: fix incorrect instructions in pkg-message - Fix the example certonly command While here, update pkg-message to cope with the renaming to "certbot" PR: 218758 Submitted by: cpm (based on) Reported by: Justin Clift <justin@postgresql.org> Approved by: koobs (maintainer) Approved by: ports-secteam (blanket) Changes: _U branches/2017Q2/ branches/2017Q2/security/py-certbot/pkg-message
Committed! Thanks