UNPKG

@adobe/ccweb-add-on-devcert

Version:

Generate trusted local SSL/TLS certificates for local SSL development

12 lines (11 loc) 690 B
/// <reference types="node" /> import { ExecFileSyncOptions } from 'child_process'; export declare function openssl(args: string[]): Buffer; export declare function run(cmd: string, args: string[], options?: ExecFileSyncOptions): Buffer; export declare function sudoAppend(file: string, input: ExecFileSyncOptions["input"]): void; export declare function waitForUser(): Promise<unknown>; export declare function reportableError(message: string): Error; export declare function mktmp(): string; export declare function sudo(cmd: string): Promise<string | null>; export declare const numericHash: (str: string) => number; export declare function parseOpenSSLExpiryData(data: string): number;