-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update lets-proxy to lets-proxy2 with inplace change binary #132
Comments
Hello. Yes, I understand your problem. I see how I can support old command-line parameters for update by change binary inplace. For config: For exapmple your config with same as:
|
@rekby Thank you for your answer. Also, one last thing: How can I run the lets-proxy2 as a service? I mean, using the commands below with the new version?
|
Hi @rekby I was able to runt it using a custom config.toml file and I started lets-encrypt2 using this command:
Here is the config file I used: The log file was showing a lot of these errors below
Then, the files that werer generated in the certificates folder are like this one:
No .crt, no .key were generated for the domains. Thank you very much for your help again!! |
lets-proxy2 doesn't has self-contained installer (and hasn't installer at all now)
.cer - same as crt - it is public certificate file. |
@rekby we've also been using 'lets-proxy' which uses ACMEv1. It looks like this has now been depreciated by Let's Encrypt as since the 14th July, we've been unable to issue certificates, new and renewals. Is there a suggested way to upgrade to 'lets-proxy-2'? Or is it a case of removing 'lets-proxy' and then implementing 'lets-proxy-2'? Any tips on best practice here would be appreciated as I don't want to affect the certificates we've already issued on the server. Thanks for your help. |
@realleoman what process did you use to compile the lets-proxy executable? Normally I'd use go build but this set up seems a little different. I'm using on Linux Ubuntu 16.04 and 18.04 Cheers |
I think I've found the releases here - https://github.com/rekby/lets-proxy2/releases Cheers |
@adviserportals Yeah, I used the releases already compiled by @rekby They worked great at my end. |
I've just got this working on my test environment, it's great. Setting up as a service is definitely the way to go. I just need to figure out whitelisting domains now... |
@adviserportals now It hasn't any special instuctions and need reconfigure lets-proxy2 from scratch. I think about add support of lets-proxy flags for backward compatible.
If you don't use any of it - I can add support of other flags/flag-stubs for change binary inplace. But I can't test it in my environment because don't use lets-proxy now. |
@rekby thanks for coming back, that's useful information. Having backwards compatibility may not be necessary. Maybe more of a 'nice to have' than 'essential'. I suppose just removing all the current lets-proxy files and then implementing the new lets-proxy2 files would be enough without causing issues? It would then just be a case of re-issuing all the certificates with the new software, which should be fine? |
I have my own custom config.toml file running with some updated values, which is great. I can not figure out how to whitelist domains though? Is there a specific format that these should be in, or can it be in a separate file like vs1? |
Sorry for two years late :(( I didn't see the question. Lets-proxy2 allow set domain filters in the config, with options BlackList, WhiteList in section "CheckDomains". |
That's great - Thanks for letting me know 👍 |
@rekby
Since Let's Encrypt deprecated this month the V1 API , I'm having a hard time making my let's proxy work (I’m using this
version: v0.15.1.9 commit 5092600a725e48e16abae6e8cb7134e9244c1ce6 os=linux-amd64
)This is one of the entries in my log:
time="2020-06-25T22:09:17Z" level=error msg="Can't create new authorization for domain 'hvacservicehouston.com': HTTP error: 403 Forbidden\nmap[Date:[Thu, 25 Jun 2020 22:09:12 GMT] Content-Type:[application/problem+json] Content-Length:[230] Boulder-Requester:[54508640] Cache-Control:[public, max-age=0, no-cache] Replay-Nonce:[0002VNfonRNGw9QGfcKd-ZTo05afir-QEwOCdfFXGA-Ez8U] Server:[nginx]]\n{\n \"type\": \"urn:acme:error:unauthorized\",\n \"detail\": \"Error creating new authz :: Validations for new domains are disabled in the V1 API (https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430)\",\n \"status\": 403\n}"
and this is the script I used to run it as a service in my Ubuntu box:
Then, I updated the script to use a new acme-server by adding the -acme-server parameter
but now, I'm getting this error
I installed lets-proxy2 (Version: 'v0.23.11+build-837, Build time 2020-03-07 22:24:36+00:00, commit 9307175, go version go1.10 linux/amd64', Os: 'linux', Arch: ‘amd64') but I’m stuck in how to configure the config_default.toml file to use the same values as I am using them with the current setup.
Please help, I'm stuck on that and ACME V1 will be disconnected in a few more days.
The text was updated successfully, but these errors were encountered: