Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Acme/letsencrypt with sftp webroot

    Scheduled Pinned Locked Moved ACME
    2 Posts 2 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      deadmalc
      last edited by

      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/acme.inc on line 553

      Call Stack:
      0.0001 233600 1. {main}() /usr/local/pkg/acme/acme_command.sh:0
      0.0398 10234696 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[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.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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.

        Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.