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

    Place a text file in webroot

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 2.0k 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.
    • Z
      ZenMasta
      last edited by

      Trying to install a free cert via lets encrypt. I've generate the csr and now it wants me to put a text file in my webroot to verify I own the domain.

      I tried the upload file feature but it ads it to /tmp

      It looks like the command prompt through the webgui is in the web root and I attempted to create a file with ee nameoffile and while it appears to say that the file is created…
      "new file "nameoffile"line 1 col 0 lines from t"

      but when I ls, the file is not there.

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        The base web directory is /usr/local/www I think.

        1 Reply Last reply Reply Quote 0
        • Z
          ZenMasta
          last edited by

          Seems like I simply can't create files. I can create folders and when I refresh the page or close and come back the folder is still there when I ls, but if I create a file there's not error that the file couldn't be created, but it doesn't appear to save the file.

          Maybe I just don't know how to use ee properly?

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            No idea.  I shelled in, ran vi /usr/local/www/test.file and filled it with crap.  Saved, cat /usr/local/www/test.file, all good.

            1 Reply Last reply Reply Quote 0
            • Z
              ZenMasta
              last edited by

              I was able to connect with scp and transfer a file. Thanks.

              1 Reply Last reply Reply Quote 0
              • W
                webrootlogin
                last edited by

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