-
-
Notifications
You must be signed in to change notification settings - Fork 5
Invoke FSCPSDigiCertSignFile
onikolaiev edited this page Apr 29, 2025
·
2 revisions
Function to sign the files with digicert
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>]
Function to sign the files with digicert
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
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: FalseThe DigiCert API Key
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe 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: FalseThe DigiCert certificate URL (p12)
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe DigiCert certificate password
Type: SecureString
Parameter Sets: (All)
Aliases:
Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe DigiCert certificate thumbprint(fingerprint)
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseA file to sign
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Oleksandr Nikolaiev (@onikolaiev)
- Install as a non-Administrator
- Install as a Administrator
- Import fscps.tools module
- List available commands from fscps.tools module
- Get help content for a command
- Get D365FSC versions data
- Compile ISV model
- Invoke Choco
- Download FSC NuGets
- Download System Update Package
- Sign Files (DigiCert / Azure KeyVault)
- Work with Model Versions
- Work with ADO Test Cases