mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #408] [MERGED] feat(gateway): support HTTPS with manual and ACME certificates #411
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#411
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/408
Author: @zlzGithub-0801
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @yingdi-shan
Base:
main← Head:feat/https-gateway📝 Commits (1)
7d9537dfeat(gateway): support HTTPS with manual and ACME certificates📊 Changes
8 files changed (+1164 additions, -24 deletions)
View changed files
📝
deploy/docker-compose.yml(+3 -0)📝
services/README.md(+130 -0)📝
services/gateway/cmd/main.go(+185 -5)📝
services/gateway/cmd/main_test.go(+396 -0)📝
services/go.mod(+31 -1)📝
services/go.sum(+64 -2)📝
services/shared/config/config.go(+177 -16)📝
services/shared/config/config_test.go(+178 -0)📄 Description
What
Add gateway HTTPS support with three modes:
off(default): HTTP only.manual: HTTPS using supplied certificate and private key files.acme: HTTPS with automatic certificate issuance and renewal through CertMagic.Why
Allow clients to connect securely to the gateway.
Related issue
N/A
Scope and non-goals
Gateway TLS termination only. Rust nodes and CLI certificate trust configuration are unchanged.
Design and behavior changes
The gateway runs either HTTP or HTTPS. Manual certificates load at startup; ACME certificates are managed by CertMagic.
Compatibility and operations
gateway.tls; defaults tooff.offto restore HTTP.Validation
make fmtmake clippymake test-unitmake -C services test(required whenservices/changes)maketargetRisks and reviewer notes
Manual certificates require replacement and gateway restart before expiry. ACME deployments require correct challenge configuration and persistent certificate storage.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.