botbook/node_modules/devcert/dist/certificates.d.ts

10 lines
502 B
TypeScript
Raw Normal View History

2024-09-04 13:13:15 -03:00
/**
* Generate a domain certificate signed by the devcert root CA. Domain
* certificates are cached in their own directories under
* CONFIG_ROOT/domains/<domain>, and reused on subsequent requests. Because the
* individual domain certificates are signed by the devcert root CA (which was
* added to the OS/browser trust stores), they are trusted.
*/
export default function generateDomainCertificate(domains: string[]): Promise<void>;
export declare function generateKey(filename: string): void;