[PR #69] [CLOSED] Lets Encrypt support #139

Closed
opened 2026-05-05 11:02:18 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mmatczuk/go-http-tunnel/pull/69
Author: @jhernandezb
Created: 1/14/2018
Status: Closed

Base: masterHead: feature/lets-encrypt


📝 Commits (5)

  • 96851bb dep: add acme/autocert dependency
  • 19bc47c cmd: add support for lets encrypt autocerts
  • 3828d9b cmd/tunneld: allow dynamic certs generation for subscribed clients
  • f69127b cmd/tunneld: update docs, enforce https traffic, added address validations, default certs cache dir
  • 8d96dcb cmd/tunneld: fix address validation

📊 Changes

306 files changed (+73932 additions, -23 deletions)

View changed files

📝 Gopkg.lock (+7 -1)
📝 Gopkg.toml (+4 -0)
📝 README.md (+10 -1)
📝 cmd/tunneld/options.go (+26 -18)
📝 cmd/tunneld/tunneld.go (+99 -3)
cmd/tunneld/tunneld_test.go (+66 -0)
vendor/golang.org/x/crypto/.gitattributes (+10 -0)
vendor/golang.org/x/crypto/.gitignore (+2 -0)
vendor/golang.org/x/crypto/AUTHORS (+3 -0)
vendor/golang.org/x/crypto/CONTRIBUTING.md (+31 -0)
vendor/golang.org/x/crypto/CONTRIBUTORS (+3 -0)
vendor/golang.org/x/crypto/LICENSE (+27 -0)
vendor/golang.org/x/crypto/PATENTS (+22 -0)
vendor/golang.org/x/crypto/README.md (+21 -0)
vendor/golang.org/x/crypto/acme/acme.go (+1058 -0)
vendor/golang.org/x/crypto/acme/acme_test.go (+1352 -0)
vendor/golang.org/x/crypto/acme/autocert/autocert.go (+973 -0)
vendor/golang.org/x/crypto/acme/autocert/autocert_test.go (+757 -0)
vendor/golang.org/x/crypto/acme/autocert/cache.go (+130 -0)
vendor/golang.org/x/crypto/acme/autocert/cache_test.go (+58 -0)

...and 80 more files

📄 Description

This PR adds support for Let's Encrypt by setting two new flags

  -letsEncrypt (bool) to enable lets encrypt autocert generation
  -letsEncryptCacheDir (string) path to store cached certificates

For lets encrypt port 80 and 443 are mandatory so httpAddr and httpsAddr will ignore the port but will still be able to bind to a specific host.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mmatczuk/go-http-tunnel/pull/69 **Author:** [@jhernandezb](https://github.com/jhernandezb) **Created:** 1/14/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/lets-encrypt` --- ### 📝 Commits (5) - [`96851bb`](https://github.com/mmatczuk/go-http-tunnel/commit/96851bbcba04eacfd77896fa64ac71705946f2e2) dep: add acme/autocert dependency - [`19bc47c`](https://github.com/mmatczuk/go-http-tunnel/commit/19bc47cffa7421d96210db9852dd701da931f7d5) cmd: add support for lets encrypt autocerts - [`3828d9b`](https://github.com/mmatczuk/go-http-tunnel/commit/3828d9b978c4d46503e1de045b0c7d0a2fb50de2) cmd/tunneld: allow dynamic certs generation for subscribed clients - [`f69127b`](https://github.com/mmatczuk/go-http-tunnel/commit/f69127b45660e0f742e6ba0f4ba2b7eebf6288c3) cmd/tunneld: update docs, enforce https traffic, added address validations, default certs cache dir - [`8d96dcb`](https://github.com/mmatczuk/go-http-tunnel/commit/8d96dcb84113533659a3b841984019a735a36c01) cmd/tunneld: fix address validation ### 📊 Changes **306 files changed** (+73932 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `Gopkg.lock` (+7 -1) 📝 `Gopkg.toml` (+4 -0) 📝 `README.md` (+10 -1) 📝 `cmd/tunneld/options.go` (+26 -18) 📝 `cmd/tunneld/tunneld.go` (+99 -3) ➕ `cmd/tunneld/tunneld_test.go` (+66 -0) ➕ `vendor/golang.org/x/crypto/.gitattributes` (+10 -0) ➕ `vendor/golang.org/x/crypto/.gitignore` (+2 -0) ➕ `vendor/golang.org/x/crypto/AUTHORS` (+3 -0) ➕ `vendor/golang.org/x/crypto/CONTRIBUTING.md` (+31 -0) ➕ `vendor/golang.org/x/crypto/CONTRIBUTORS` (+3 -0) ➕ `vendor/golang.org/x/crypto/LICENSE` (+27 -0) ➕ `vendor/golang.org/x/crypto/PATENTS` (+22 -0) ➕ `vendor/golang.org/x/crypto/README.md` (+21 -0) ➕ `vendor/golang.org/x/crypto/acme/acme.go` (+1058 -0) ➕ `vendor/golang.org/x/crypto/acme/acme_test.go` (+1352 -0) ➕ `vendor/golang.org/x/crypto/acme/autocert/autocert.go` (+973 -0) ➕ `vendor/golang.org/x/crypto/acme/autocert/autocert_test.go` (+757 -0) ➕ `vendor/golang.org/x/crypto/acme/autocert/cache.go` (+130 -0) ➕ `vendor/golang.org/x/crypto/acme/autocert/cache_test.go` (+58 -0) _...and 80 more files_ </details> ### 📄 Description This PR adds support for Let's Encrypt by setting two new flags ``` -letsEncrypt (bool) to enable lets encrypt autocert generation -letsEncryptCacheDir (string) path to store cached certificates ``` For lets encrypt port 80 and 443 are mandatory so httpAddr and httpsAddr will ignore the port but will still be able to bind to a specific host. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 11:02:18 -06:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/go-http-tunnel#139
No description provided.