Merge pull request #6 from bitechdev/copilot/sub-pr-5

Implement persistent certificate storage with reuse for self-signed SSL
This commit is contained in:
Hein Puth (Warkanum)
2025-12-30 13:27:50 +02:00
committed by GitHub
4 changed files with 193 additions and 18 deletions

View File

@@ -397,8 +397,8 @@ func (sm *serverManager) ServeWithGracefulShutdown() error {
type serverInstance struct {
cfg Config
gracefulServer *gracefulServer
certFile string // Path to certificate file (may be temporary for self-signed)
keyFile string // Path to key file (may be temporary for self-signed)
certFile string // Path to certificate file (may be persistent for self-signed)
keyFile string // Path to key file (may be persistent for self-signed)
mu sync.RWMutex
running bool
serverErr chan error