add Server SNI Support for Package OpenSSL
Original Reporter info from Mantis: gocher
-
Reporter name: Udo Schmal
Original Reporter info from Mantis: gocher
- Reporter name: Udo Schmal
Description:
Sample for two certificats:
FTlsExtCtx: TTlsExtCtx;
...
setLength(FTlsExtCtx, 2);
FTlsExtCtx[0].domains[0] := "www.gocher.me";
FTlsExtCtx[0].domains[1] := "test.gocher.me";
FTlsExtCtx[0].CTX := TSSLContext.Create(stAny);
...
FTlsExtCtx[1].domains[0] := "www.test.me";
FTlsExtCtx[1].CTX := TSSLContext.Create(stAny);
...
FCTX := FTlsExtCtx[0].CTX; //default
FCTX.ActivateServerSNI(FTlsExtCtx);
Mantis conversion info:
- Mantis ID: 31271
- Fixed in version: 3.1.1
- Fixed in revision: 35332 (#0013769c)
- Target version: 3.2.0