• Having issues with Acme and Cloudflare

    1
    0 Votes
    1 Posts
    243 Views
    No one has replied
  • Setup ACME with Webroot Local Folder

    4
    0 Votes
    4 Posts
    2k Views
    GertjanG

    Logs ?

    Open a console, SSH, or better SFTP and look in /tmp/acme/your-domain.tld - there is a dot log file.
    This one :
    112f5526-6111-4ba0-ad23-9802642eac83-image.png

    Also :

    If I visit :
    2ea7a531-3b5f-4933-9840-3c6459963808-image.png

    I have a TLS error - as acme has :

    d44fcbf1-8c98-4ae5-a1e8-5114913e991d-image.png

    because the cert is expired since March 6.

    So, when the Letenscypt hits that site, it will bail out.

    I'm not using HAProxy myself, neither the acme webroot method.

    What about : pfsense haproxy acme ,

  • ACME renewal fails for DNS Made Easy

    8
    0 Votes
    8 Posts
    990 Views
    D

    @Blfrg Thanks, that worked perfectly. Your last fix also works with the GUI of PFSense when added from hand. After merge all should be fine again. Thanks for your patch!

  • ACME package version 0.6.5

    5
    5 Votes
    5 Posts
    725 Views
    B

    @Wasca Thank you for reporting the issue!

    A pull request has been created here

    Please watch for that pull request to be merged
    and the fix should be available in the next acme.sh release (>2.8.6)

  • Warning: certs cancellation due to LE bug

    4
    0 Votes
    4 Posts
    422 Views
    jimpJ

    Also noteworthy that I am still occasionally seeing account registration/verification failures over IPv6 even when attempting renewals. If you get a cURL error (like error 35) when attempting to renew, set the firewall to prefer IPv4: System > Advanced, Networking tab, check Prefer to use IPv4 even if IPv6 is available. Then try the ACME renew again.

  • ACME

    11
    0 Votes
    11 Posts
    735 Views
    GertjanG

    The resulat (green text) said already to you :

    d643c3b0-666f-4b89-b9a5-843a3984ed7a-image.png

    But this could be an important indication :

    bc053a13-aa12-496d-92a6-bf53421a2632-image.png

    Let me rephrase that message : the acme.sh couldn't add the "_acme-challenge.............." to your domain.
    A problem with the domain ? An API error ? The registrar that hosts the API has problems ?
    Can't tell much more.

  • ACME & HAProxy secondary step failed after backup restore

    3
    0 Votes
    3 Posts
    684 Views
    F

    @PiBa I use the 'simple' haproxy package. I am not blocking anything special. pfSense and all packages are on newest versions. I also disabled snort, pfblocker and everything else during debugging. As i said, it worked before moving from bhyve to proxmox. Or probably what counts more is before backup up and restoring on a clean install.

    But nevermind, i got it working now by using the haproxy chroot'ed webroot instead of standalone http server. After hours or fiddeling i have up on the other solution and switched all my certs to webroot. This is even faster as the script does not have to spin up an extra http server ...

    But thank you for taking the time to reply ;-)

  • Is using tftp a safe way to distribute newly obtained certs internally?

    2
    0 Votes
    2 Posts
    372 Views
    jimpJ

    I would not consider TFTP safe by any means. It's unencrypted and unauthenticated. So you can't verify that the client is pulling the certificate from the proper source or ensure that it has not been interfered with along the way. On a local network that may not appear like a huge concern, but it's best not to get complacent or make assumptions when dealing with security.

    If you are only transferring the certificate and not private key data then the unencrypted part isn't as large of a concern.

    Some people write the certs to a central location and copy them around with scp, which is better.

    Though it sounds like you're using the ACME package for a role it really was not intended to fill. You might be better suited using a dedicated ACME setup on a local system (small VM, Pi, etc) which can securely deploy the certificates in a manner better suited for your needs.

  • 0 Votes
    2 Posts
    468 Views
    GertjanG

    Before posting :

    7f2dd95b-5c4d-4013-820c-42ca9263efa6-image.png

    Right after manual cert renewal :

    86f8b0a5-1058-43d1-844a-2c70ee1ac91c-image.png

    You saw the date/time change ?

    The concerned

    <cert> .... <crt> ........</crt> ..... </cert>

    in the config.xml showed me the cert was changed thus saved to config.xml

    How could pfSense otherwise use the new certificate dater a reboot ?
    Because it's in the config.xml .... (and no where else).

    Btw :

    a397d082-d42c-478b-b7fc-0eae9ab12b7b-image.png

    edit : I tend to say : read the log from /tmp/acme/<your domain>/acme_issuecert.log and you have your answer why it was not renewed and thus why it wasn't written to config.xml and why it didn't doesn't show in System > Certificate Manager > Certificates

    Edit : See the official video : https://www.netgate.com/resources/videos/lets-encrypt-on-pfsense.html => 49 minutes and 30 seconds ;)

  • Can't renew with updated/changed validation method

    4
    0 Votes
    4 Posts
    608 Views
    M

    It is fixed: https://github.com/acmesh-official/acme.sh/commit/4f303de00c8d640351db5fb065bf0861786fab18

    We need to wait for offical release (2.8.6).

    Or you can copy acme.sh from master branch it will work as well.

  • Error when creating new certificate - "error": "Unable to verify HMAC"'

    5
    0 Votes
    5 Posts
    688 Views
    jimpJ

    Looks like the error is being sent back from api.dnsmadeeasy.com -- so I'd check your account settings there and the credentials. Maybe they have some limit you're exceeding, or something else wrong.

  • How to restart ipsec on renew of certificate

    2
    0 Votes
    2 Posts
    649 Views
    jimpJ

    One of these should work:

    Method = Restart Local Service, Command = ipsec (This may be enough to refresh the IPsec config, but it's not a full restart) Method = PHP Command, Command = ipsec_configure(true) (This may fail since it may not have the right required libraries) Method = Shell Command, Command = /usr/local/sbin/pfSsh.php playback restartipsec (This may fail since the ACME script which starts the command is PHP, and launching pfSsh.php from within PHP doesn't always work) Method = PHP Command, Command = file_get_contents("/etc/phpshellsessions/restartipsec") (If the shell command fails, this should work instead)
  • acme when dns provider does not allow dns challenge

    44
    0 Votes
    44 Posts
    9k Views
    tn1rpi3T

    @Gertjan said in acme when dns provider does not allow dns challenge:

    I see how speed may become an issue here.

    set DNS-Sleep to 300 seconds, or more.

    I'll certainly remember that setting when needed.

  • [SOLVED] Accountkey is not saved

    4
    0 Votes
    4 Posts
    511 Views
    P

    I read here in the forum that someone had a similar problem and it suddenly solved itself without intervention.

    Here the same.

    PFSense was running all the time and I tried again yesterday to create the account key which didn't work as described. The system wasn't changed all the time because I think the settings are correct.

    I have just tried it again and see there it is created.

    So (probably) done but strange I find it already.

  • Cannot get proper cert on my sub-domain

    2
    0 Votes
    2 Posts
    233 Views
    GertjanG

    Hi,

    And how should we know what changed, went wrong - what method you are using, etc ?

  • pf 2.4.4, ACME 0.6.4, Bind, Can't Pull Cert

    2
    0 Votes
    2 Posts
    452 Views
    M

    Update: When I try to setup Dynmaic DNS RFC 2136 updates (just to test) I noticed this error:

    /services_rfc2136_edit.php: The command '/usr/local/bin/nsupdate -k /var/etc/nsupdatekey0 /var/etc/nsupdatecmds0' returned exit code '1', the output was 'check-names failed: bad owner '_acme-challenge.<doamin.com>' syntax error'

    I briefly looked up solutions but then mentioned puny-code and I still don't quite understand. Going to keep looking into this.

  • Letsencrypt + DigitalOcean = problems for me

    Moved
    12
    0 Votes
    12 Posts
    2k Views
    P

    I would recommend to use DigitalOcean through Cloudways platform as Cloudways takes care of this hassle through their excellent support team and you don't have to worry about any server related issues

  • Shell Command actions

    3
    0 Votes
    3 Posts
    465 Views
    P

    @jimp I completely missed that setting! Thank you!

  • ACME puts clear text certificate information in the logs

    3
    0 Votes
    3 Posts
    649 Views
    IsaacFLI

    @jimp yeah my concern was I was sending the pfSense logs to a syslog server. I just unticked the system part going to the syslog.

  • ACME package version 0.6.4

    2
    2 Votes
    2 Posts
    484 Views
    yon 0Y

    ACME 0.6.4 still has no push for update in PF 2.5 now.

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.