Navigation

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

    DNS-infomaniak : how do I set env var?

    ACME
    2
    5
    400
    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.
    • L
      LePaK last edited by

      I want to setup ACME with a DNS-Infomaniak method. I found how to generate my API token on Infomaniak's console but now I struggle to add it to my pfSense.
      In the error message I receive when generating the certificate (or in the code here : https://git.yunzmall.com/apps/acme/-/commit/39fa27a2dc804c3dc4d7a89381ad07bd4f28591f) it says I should add it as an environment variable named INFOMANIAK_API_TOKEN.

      I've search back and forth how to achieve that on pfSense with no avail, anyone here know how to do that?
      I tried to edit ~/.tcsh file by adding a setenv at the end and reboot my pfSense, but that didn't work

      johnpoz 1 Reply Last reply Reply Quote 0
      • johnpoz
        johnpoz LAYER 8 Global Moderator @LePaK last edited by

        @lepak would you just put it in the gui settings?

        api.png

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 23.01 | Lab VMs CE 2.6, 2.7

        L 1 Reply Last reply Reply Quote 0
        • L
          LePaK @johnpoz last edited by

          @johnpoz sometimes it's so obvious you just miss it... sorry for the (very) dumb question
          I switched very quickly this setting and didn't see it

          johnpoz 1 Reply Last reply Reply Quote 0
          • johnpoz
            johnpoz LAYER 8 Global Moderator @LePaK last edited by

            Yeah if a snake would of bit you ;)

            But yeah you have to click on the expansion.. Not really a fan of the acme gui to be honest. But it gets the job done.

            The haproxy one could use some work too..

            If used them more I guess, but acme and haproxy are pretty much set them and never have to go back to them sorts of things..

            So take it is working - once you put in the info.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 23.01 | Lab VMs CE 2.6, 2.7

            L 1 Reply Last reply Reply Quote 0
            • L
              LePaK @johnpoz last edited by

              @johnpoz yes it works well now, although the UI is well hidden. I had to click another tiny button to show the full settings for this DNS-Infomaniak, as you said it's not so intuitive but now that it works I won't touch it ever again so...
              Thanks for your help!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post