Git Product home page Git Product logo

Comments (27)

rejetto avatar rejetto commented on June 25, 2024 4

your problem is not with HFS, but with letsencrypt.
If you want to get your free certificate from them, you have to go here https://certbot.eff.org/instructions?ws=other&os=windows

If you don't like their way, your alternatives are

I hope that I'll be able soon to focus on integration of letsencrypt, to make this stuff easier.

from hfs.

rejetto avatar rejetto commented on June 25, 2024

letsencrypt gives you private key, I know because I use it and I get this file "privkey.pem".

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

how to obtain this private key??, i dont see this!

from hfs.

SanokKule avatar SanokKule commented on June 25, 2024

I will assume you are on windows.
Did you use certbot to get your certificate?
If so, you would have your certificate files in the 'C:/certbot/live/#your domain#/'

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

@SanokKule sorry, i use sub-domain and i dont install certbot

from hfs.

SanokKule avatar SanokKule commented on June 25, 2024

Then what did you use to get your certificate?

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

@SanokKule i download here

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

ok thanks for help!!

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

what is webroot in HFS?
image

from hfs.

rejetto avatar rejetto commented on June 25, 2024

certbot calls "webroot" the folder of your disk that is served by your web server when accessing the root (like google.com , without any folder like google.com/folder )

Most web servers have the root associated to a folder on a disk.

Root is called "Home" in HFS.

Point is: by default HFS' root is virtual. Virtual = not associated to any folder on your disk. This is the "source" option in HFS.

image

You are trying to use certbot in "webroot" mode, but this mode needs you to have the home of HFS associated to a folder on your disk.

Your options are

  • you don't use webroot mode (I don't)
  • you continue, but need to set the "source" of the "home" of HFS.
    If you set it a folder, all the files in this folder will appear in HFS. So, you may want to set it to an empty folder. What will happen is that at some point certbot will add a file inside this folder, for a few seconds, necessary to create or renew your certificate.

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

@rejetto thanks!

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

i will ask more soon, so i keep issue open

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

help part 2
i use duckdns, idk what happend!
image

from hfs.

rejetto avatar rejetto commented on June 25, 2024

so, you chose option 2. It says you must havean HTTP server running on the same machine. Do you have HFS running on the same machine?

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

@rejetto i use HFS in THIS machine!

from hfs.

SanokKule avatar SanokKule commented on June 25, 2024

@BussyBakks, your server should be using port 80 and the Home in your vfs should have D:\share (if that's where you want that to be) as the source.
Server also needs to be accessible from outside your network by the domain you are trying to get a certificate for.
After that you can try running certbot again.

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

@SanokKule i link my external ip to duckdns, but it isnt work!
how can i access my HFS in duckdns's ip?

from hfs.

SanokKule avatar SanokKule commented on June 25, 2024

Did you forward port 80 to your pc in your wi-fi router?

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

@SanokKule yes i forwarded port 80 in router
but still doesnt work
image

from hfs.

SanokKule avatar SanokKule commented on June 25, 2024

If you add some file into the D:\share folder, do they show up in your server?

from hfs.

SanokKule avatar SanokKule commented on June 25, 2024

@SanokKule i link my external ip to duckdns, but it isnt work! how can i access my HFS in duckdns's ip?

It might be that your ISP is blocking some ports, so if you can't access your hfs from your ddns domain despite it pointing to your ip, you might need to talk with your ISP and ask them to unblock the ports.
Can other people access your server if they enter your ip into the browser?

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

@SanokKule no, i dont share to anyone, just my family and i need THIS server access to every places!

from hfs.

SanokKule avatar SanokKule commented on June 25, 2024

But is your server accessible from the internet?

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

@SanokKule no

from hfs.

SanokKule avatar SanokKule commented on June 25, 2024

The server MUST be accessible from the internet to get the certificate.
If the server is not accessible from the internet then your ddns will be useless too, wouldn't it?

from hfs.

rejetto avatar rejetto commented on June 25, 2024

@SanokKule no, i dont share to anyone, just my family and i need THIS server access to every places!

"every places" = the internet.
You can restrict access some way, like with accounts and permissions.

from hfs.

BussyBakks avatar BussyBakks commented on June 25, 2024

ok i give up, it toooo confusing with me, thanks for help:D

from hfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.