Acme/letsencrypt with sftp webroot

  • I'm using an sftp webroot.
    I can sftp from PFSense to the server with the credentials entered.
    However it gives this:

    Fatal error: Using $this when not in object context in /usr/local/pkg/acme/ on line 553

    Call Stack:
    0.0001 233600 1. {main}() /usr/local/pkg/acme/
    0.0398 10234696 2. pfsense_pkg\acme\challenge_response_cleanup() /usr/local/pkg/acme/

    PHP ERROR: Type: 1, File: /usr/local/pkg/acme/, Line: 553, Message: Using $this when not in object context[Sun Feb 5 13:53:03 GMT 2017] xxxxx:Verify error:Invalid response from http://xxxxxxx/.well-known/acme-challenge/BjwthyFk4OS51Kd8HELz5D0DSuXpd-7z6aNMP1jOzjw:
    [Sun Feb 5 13:53:03 GMT 2017] Error rm webroot api for domain:pfSenseacme
    [Sun Feb 5 13:53:03 GMT 2017] Please check log file for more details: /tmp/acme/xxxx/acme_issuecert.log

    The log simply shows that acme didn't verify, which given it's not put the challenge on the server is not a surprise.
    There is no entry to show even an attempt to sftp the challenge to the server.

    Has anyone else tried this, or should I raise a bug report.

  • Rebel Alliance Developer Netgate

    There were some issues with that code path. Update the package to 0.1.7 or later when it shows up and it should work.

Log in to reply