24 lines
744 B
TypeScript
24 lines
744 B
TypeScript
/**
|
|
* Probe live TLS certificates for admin visibility (expiry planning).
|
|
*/
|
|
export type SslCertProbe = {
|
|
host: string;
|
|
port: number;
|
|
ok: boolean;
|
|
subject: string | null;
|
|
issuer: string | null;
|
|
validFrom: string | null;
|
|
validTo: string | null;
|
|
daysRemaining: number | null;
|
|
status: 'ok' | 'warning' | 'critical' | 'error';
|
|
error: string | null;
|
|
};
|
|
export type SslCertStatusResult = {
|
|
checkedAt: string;
|
|
warnDays: number;
|
|
criticalDays: number;
|
|
certificates: SslCertProbe[];
|
|
};
|
|
/** Live TLS probes for configured public hosts (planning renewals). */
|
|
export declare function getSslCertificateStatus(): Promise<SslCertStatusResult>;
|
|
//# sourceMappingURL=sslCertificateStatusService.d.ts.map
|