@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.
46 lines • 1.11 kB
TypeScript
export declare class CAInstaller {
private caPath;
private caKeyPath;
private caGenerator;
constructor(certsDir?: string);
/**
* Check if the CA certificate exists
*/
checkCAExists(): Promise<boolean>;
/**
* Generate and install the CA certificate
*/
generateAndInstallCA(): Promise<{
success: boolean;
message: string;
}>;
/**
* Install the CA certificate based on the platform
*/
installCA(): Promise<{
success: boolean;
message: string;
}>;
/**
* Install CA on Windows using certutil
*/
private installOnWindows;
/**
* Install CA on macOS using the security command
*/
private installOnMacOS;
/**
* Install CA on Linux
*/
private installOnLinux;
/**
* Install CA in Firefox (all platforms)
* This is a complex process as Firefox uses its own certificate store
*/
private installOnFirefox;
/**
* Check if a command exists in the PATH
*/
private commandExists;
}
//# sourceMappingURL=ca-installer.d.ts.map