import type { AcmeProvider, HttpsCertificateSource } from './api.ts' /** The labels of the sources of the server's certificate. */ export const CERTIFICATE_LABELS: Record = { acme: 'ACME', 'self-signed': 'Self-signed', ca: 'Servers Issuing CA of the server\'s PKI', external: 'Another CA: a CSR signed there, or a PFX', } /** The labels of the ACME providers. */ export const PROVIDER_LABELS: Record = { letsencrypt: 'Let\'s Encrypt', zerossl: 'ZeroSSL', custom: 'Custom directory URL', }