Bug #7208
closedACME ftpwebroot doesn't work
0%
Description
Below is the output of trying to use ftpwebroot. I redacted some data. As you can see from the log it doesn't appear the script is even trying to SFTP the file. I didn't see any traffic to the destination host via tcpdump either.
webui_test_2
Renewing certificateaccount: le test
server: letsencrypt-staging
/usr/local/pkg/acme/acme.sh --issue -d 'XX' --home '/tmp/acme/webui_test_2/' --accountconf '/tmp/acme/webui_test_2/accountconf.conf' --force --reloadCmd '/tmp/acme/webui_test_2/reloadcmd.sh' --webroot pfSenseacme --log-level 3 --log '/tmp/acme/webui_test_2/acme_issuecert.log'
Array
(
[path] => /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
[PATH] => /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
[ftpserver] => XX
[username] => XX
[password] => XX
[folder] => /.well-known/acme-challenge/
)
[Fri Feb 3 21:59:17 EST 2017] Single domain='XX'
[Fri Feb 3 21:59:17 EST 2017] Getting domain auth token for each domain
[Fri Feb 3 21:59:17 EST 2017] Getting webroot for domain='XX'
[Fri Feb 3 21:59:17 EST 2017] _w='pfSenseacme'
[Fri Feb 3 21:59:18 EST 2017] Getting new-authz for domain='XX'
[Fri Feb 3 21:59:23 EST 2017] The new-authz request is ok.
[Fri Feb 3 21:59:23 EST 2017] Verifying:XX
[Fri Feb 3 21:59:23 EST 2017] Found domain http api file: /tmp/acme/webui_test_2//httpapi/pfSenseacme.sh
challenge_response_put webui_test_2, XX
FOUND domainitem[Fri Feb 3 21:59:27 EST 2017] Found domain http api file: /tmp/acme/webui_test_2//httpapi/pfSenseacme.sh
Fatal error: Using $this when not in object context in /usr/local/pkg/acme/acme.inc on line 553
Call Stack:
0.0007 233584 1. {main}() /usr/local/pkg/acme/acme_command.sh:0
0.2344 10776768 2. pfsense_pkg\acme\challenge_response_cleanup() /usr/local/pkg/acme/acme_command.sh:65
PHP ERROR: Type: 1, File: /usr/local/pkg/acme/acme.inc, Line: 553, Message: Using $this when not in object context[Fri Feb 3 21:59:27 EST 2017] XX:Verify error:Invalid response from http://XX/.well-known/acme-challenge/JhIrXr0FXdxgYwTf98IRl8cHPw6LTsOpaDlWcaEp5rM:
[Fri Feb 3 21:59:27 EST 2017] Error rm webroot api for domain:pfSenseacme
[Fri Feb 3 21:59:27 EST 2017] Please check log file for more details: /tmp/acme/webui_test_2/acme_issuecert.log@@