GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fscps.tools/docs/Invoke-FSCPSDigiCertSignFile.md at develop · fscpscollaborative/fscps.tools

Expand file tree

/

Invoke-FSCPSDigiCertSignFile.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
171 lines (133 loc) · 3.3 KB
/

Invoke-FSCPSDigiCertSignFile.md

Copy path

File metadata and controls

171 lines (133 loc) · 3.3 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

external help file: fscps.tools-help.xml Module Name: fscps.tools online version: schema: 2.0.0

Invoke-FSCPSDigiCertSignFile

SYNOPSIS

Function to sign the files with digicert

SYNTAX

Invoke-FSCPSDigiCertSignFile [[-SM_HOST] <String>] [-SM_API_KEY] <String> [[-SM_CLIENT_CERT_FILE] <String>]
 [[-SM_CLIENT_CERT_FILE_URL] <String>] [-SM_CLIENT_CERT_PASSWORD] <SecureString>
 [-SM_CODE_SIGNING_CERT_SHA1_HASH] <String> [-FILE] <String> [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

Function to sign the files with digicert

EXAMPLES

EXAMPLE 1

Invoke-FSCPSDigiCertSignFile -SM_API_KEY "$codeSignDigiCertAPISecretName" `
    -SM_CLIENT_CERT_FILE_URL "$codeSignDigiCertUrlSecretName" `
    -SM_CLIENT_CERT_PASSWORD $(ConvertTo-SecureString $codeSignDigiCertPasswordSecretName -AsPlainText -Force) `
    -SM_CODE_SIGNING_CERT_SHA1_HASH "$codeSignDigiCertHashSecretName" `
    -FILE "$filePath"

This will sign the target file with the DigiCert certificate

PARAMETERS

-SM_HOST

Digicert host URL. Default value "https://clientauth.one.digicert.com"

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: Https://clientauth.one.digicert.com
Accept pipeline input: False
Accept wildcard characters: False

-SM_API_KEY

The DigiCert API Key

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SM_CLIENT_CERT_FILE

The DigiCert certificate local path (p12)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: C:\temp\digicert.p12
Accept pipeline input: False
Accept wildcard characters: False

-SM_CLIENT_CERT_FILE_URL

The DigiCert certificate URL (p12)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SM_CLIENT_CERT_PASSWORD

The DigiCert certificate password

Type: SecureString
Parameter Sets: (All)
Aliases:

Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SM_CODE_SIGNING_CERT_SHA1_HASH

The DigiCert certificate thumbprint(fingerprint)

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FILE

A file to sign

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Author: Oleksandr Nikolaiev (@onikolaiev)

RELATED LINKS

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.