How to set webroot path for HTTP challenge using the Lego as library #2015
Unanswered
carlnetcore26
asked this question in
Q&A
Replies: 1 comment
-
https://github.com/go-acme/lego/blob/master/providers/http/webroot/webroot.go |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is my Go code. I am new to Go Programming.
I tried running this code but it gives me an error that it cannot Bind
I have an EC2 instance running behind the ALB in AWS. I have also added the rule in the ALB correctly to the EC2.
I have a Nginx installed and listening on port 80 as well
But still, it does not work.
So I manually clone and build the lego git repo
I ran the following command
and it was successful
I wanted to know how to set the webroot path using the library code for the HTTP challenge and ensure that the token is being created?
So i want to know what do i need to do to get this to work using the library.
Beta Was this translation helpful? Give feedback.
All reactions