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

Cloudflare DNS Lets Encrypt #120

Closed
ikifar2012 opened this issue Apr 18, 2019 · 16 comments
Closed

Cloudflare DNS Lets Encrypt #120

ikifar2012 opened this issue Apr 18, 2019 · 16 comments

Comments

@ikifar2012
Copy link

Please add the ability to do a DNS challenge for lets encrypt

@rudyberkvens
Copy link

I need this also. My ISP blocks port 80

@ikifar2012
Copy link
Author

What ISP is that?

@rudyberkvens
Copy link

rudyberkvens commented Apr 19, 2019 via email

@jc21
Copy link
Member

jc21 commented Apr 23, 2019

Time for a new ISP ;) Do they block 443 as well?

Check out #85 - it needs testing, you can pull the docker image for that PR and try

@rudyberkvens
Copy link

rudyberkvens commented Apr 23, 2019 via email

@Deanosim
Copy link

Time for a new ISP ;) Do they block 443 as well?

Check out #85 - it needs testing, you can pull the docker image for that PR and try

How do I go about testing this? I've pulled it but I don't know where to enter the the info for setting up dns requests via the cloudflare plugin.

@jc21
Copy link
Member

jc21 commented Apr 25, 2019

According to the guy who wrote the PR, once you've pulled it you need to have your dns settings done and then go and add request a new LE cert from within the application. There's no new UI options.

@jc21 jc21 mentioned this issue May 8, 2019
@jc21
Copy link
Member

jc21 commented May 8, 2019

Merged #85

@ikifar2012
Copy link
Author

hey @jc21 hpw do I use the dns challange

@jc21
Copy link
Member

jc21 commented May 9, 2019

The patch only tells letsencypt to search your dns settings for some authorization instead of inside the project via http. I personally don't use it but someone wanted it, made a PR, was told to test it and I didn't hear from them again so I merged it because it doesn't affect any pre-existing behavior.

@ikifar2012
Copy link
Author

The patch only tells letsencypt to search your dns settings for some authorization instead of inside the project via http. I personally don't use it but someone wanted it, made a PR, was told to test it and I didn't hear from them again so I merged it because it doesn't affect any pre-existing behavior.

In order for Cloudflare to work you need a special package for certbot and it requires a cloudflare global API key

@OhHeyAlan
Copy link
Contributor

@ikifar2012 I’ll work on this tonight and try to submit a PR for it. Currently I use Certbot to generate a wildcard and install it as a custom cert.

@burkasaurusrex
Copy link

@dcplaya
Copy link

dcplaya commented Jan 10, 2020

Is this working? I didnt see anything in the github wiki about it. I would love to use this but I need to have LetsEncrypt to auth with Cloudflare's DNS before I can switch over to it.

@rudyberkvens
Copy link

I switched to using Let's Encrypt and NGINX Home Assistant SSL proxy add-ins in Home Assistant. These two together are working fine for me. Of course this wont help you if you are using this for something other than HA.

@dcplaya
Copy link

dcplaya commented Jan 10, 2020

I use HA but I also have about 15 other services running through my proxy. But I currently am unable to use this anyway, most of my services' ports are only opened to localhost and as far as I can tell, there is no way to have Nginx look at localhost of the parent machine and not the docker instance. So for now, implementing this is on hold.

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

No branches or pull requests

7 participants