hammerspoon2-docs
    Preparing search index...

    Function certificates

    • List the stored certificates

      Returns { expires?: Date; hasPrivateKey: boolean; name: string; subject?: string }[]

      The stored certificates, sorted by name. subject is the certificate's subject, usually its common name, and hasPrivateKey is true for an identity stored with importIdentity().

      Throws an Error on failure; wrap calls in try/catch to handle it.