I just installed acme.sh using `pkg install acme.sh`. After installation, it fails as follows: $ acme.sh --issue --standalone -d example.com [Fri Jan 12 15:10:04 CET 2018] Please install socat tools first. [Fri Jan 12 15:10:04 CET 2018] _on_before_issue. Installing the socat port fixes this.
What version of acme.sh? I ask because we added socat support: https://svnweb.freebsd.org/ports?view=revision&revision=457087 Perhaps it is wrong. What is the output of pkg info acme.sh please?
It looks like STANDALONE defaults to off: $ pkg info acme.sh ... Options : BINDTOOLS : off CURL : on DOCS : on STANDALONE : off WGET : off ... Would it make sense to set it to 'on' by default? It's pretty useful to have standalone support readily available, as it's useful for spinning up new domains on systems that don't run a web server yet.
A commit references this bug: Author: dvl Date: Sat Jan 13 20:47:25 UTC 2018 New revision: 458941 URL: https://svnweb.freebsd.org/changeset/ports/458941 Log: Set STANDALONE default to ON by default. This pulls in net/socat PR: 225107 Submitted by: Ed Schouten <ed@FreeBSD.org> Changes: head/security/acme.sh/Makefile
Sounds reasonable. Done.