Add live TLS certificate probing and improve restart error handling.

Configure CertificateCheckUrl per container for curl-like TLS checks, classify Sonic permission errors, and extend setup wizard for container management.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-03 13:16:21 +02:00
co-authored by Cursor
parent d20e0df618
commit 58b7826162
1430 changed files with 358394 additions and 71 deletions
@@ -427,6 +427,7 @@ BEGIN
[SonicConnectionId] [int] NOT NULL,
[ContainerName] [nvarchar](250) NOT NULL,
[ContainerDisplayName] [nvarchar](250) NULL,
[CertificateCheckUrl] [nvarchar](500) NULL,
[RestartTimeoutSeconds] [int] NOT NULL,
[IsActive] [bit] NOT NULL,
[CreationDateTime] [datetime2](3) NOT NULL,
@@ -0,0 +1,18 @@
/*
DATABASE: [EsbZertifikatManager]
OBJECTNAME: SonicContainer.CertificateCheckUrl
ACTION: ALTER
IDX: 005
DATE: 2026-07-31
USER: CUR
COMMENT: URL/Host:Port fuer TLS-Zertifikatspruefung (curl-aehnlich) am Container.
*/
USE [EsbZertifikatManager];
GO
IF COL_LENGTH(N'dbo.SonicContainer', N'CertificateCheckUrl') IS NULL
BEGIN
ALTER TABLE [dbo].[SonicContainer]
ADD [CertificateCheckUrl] [nvarchar](500) NULL;
END;
GO
@@ -46,6 +46,16 @@ Wenn der alte Platzhalter noch in SQL liegt:
Zusätzlich: in `appsettings.json` ist `"Demo": { "Enabled": true, ... }`
die App zeigt den Demo-Pfad auch ohne SQL-Update in der Zielliste (Kopieren testen).
## TLS-Prüf-URL am Container (bestehende DB)
Für Live-Zertifikatsprüfung (curl-ähnlich) die Spalte nachziehen:
```text
05_AddCertificateCheckUrl.sql
```
Danach in Einstellungen → Container die Prüf-URL setzen, z. B. `https://server:8443`.
## Always Encrypted
| Objekt | Name |