Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localhost development questions #15

Open
Phoscur opened this issue Feb 26, 2024 · 2 comments
Open

Localhost development questions #15

Phoscur opened this issue Feb 26, 2024 · 2 comments

Comments

@Phoscur
Copy link

Phoscur commented Feb 26, 2024

Hi,
I've used greenlock-express in one of my previous projects, and I was hoping to use it again to get a localhost certificate for development...
I had a bunch of issues trying around, could not get it to work in the last days.

I'm confused, would you please give some hints what's required for a greenlock on localhost (as @coolaj86 once promised)?

Do I need to choose a domain and add it to my hosts file or even my own DNS server?
Do I need to use DNS-01 or could HTTP-01 also be used?

Refs, someone asking for a localhost example: https://git.rootprojects.org/root/greenlock-express.js/issues/66

And the Main Readme Example table entry is still 404:

Localhost coming someday (ask to help create this) how to use DNS-01 for domains that resolve to private networks, such as 127.0.0.1

@developers-solutions
Copy link

developers-solutions commented Mar 10, 2024

Also looking for any solutions for localhost domains.

This is what we got from developer:

You have to use a proper localhost domain.
I'd suggest using DuckDNS DNS-01 and manually setting a 127.0.0.1 address at the record.

Please update on any news, I will do the same. This will help community to grow

@mmitchellg5
Copy link

has @coolaj86 abandoned this

please say no, @coolaj86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants