@axlotl-lab/navigrator
Version:
A powerful local domain manager for development environments. Navigrator helps you manage local domains and SSL certificates with a simple web interface.
34 lines • 789 B
TypeScript
export declare class CAGenerator {
private certsDir;
private caDir;
private caKeyPath;
private caCertPath;
constructor(certsDir?: string);
/**
* Check if OpenSSL is installed on the system
*/
checkOpenSSLInstalled(): Promise<boolean>;
/**
* Initialize the certificate directory
*/
initialize(): Promise<void>;
/**
* Check if the CA certificate exists
*/
checkCAExists(): Promise<boolean>;
/**
* Generate a local CA to sign certificates
*/
generateCA(): Promise<{
keyPath: string;
certPath: string;
}>;
/**
* Get the paths to the CA files
*/
getCAPaths(): {
keyPath: string;
certPath: string;
};
}
//# sourceMappingURL=ca-generator.d.ts.map