@cto.af/ca - v2.4.0
    Preparing search index...

    Interface CommonCertOptions

    interface CommonCertOptions {
        dir?: string;
        force?: boolean;
        host?: string | string[];
        minRunDays?: number;
        noKey?: boolean;
        notAfterDays?: number;
        temp?: boolean;
    }
    Index

    Properties

    dir?: string

    Relative to cwd.

    force?: boolean

    Always create a new cert, even if one exists and is valid.

    host?: string | string[]

    Hostname(s) for cert. Used for subject CN, DNS subjectAltName, or IP subjectAltName if IP address. If array, the first name will be the CN, and all names will be added as SANs.

    minRunDays?: number

    Minimum number of days the server can run. Ensure the cert will be good at least this long.

    noKey?: boolean

    If true, do not read the key.

    notAfterDays?: number

    Certificate invalid after this many days, server restart required.

    temp?: boolean

    If true, do not write any files.