Custom Signing

AdminStudio 2025 R2 | 30.0 | AdminStudio REST APIs

Edition:REST APIs are enabled with AdminStudio Enterprise Edition.

When you send this request, it configures custom signing of MSIX packages.

Custom Signing

Request Type

Description

API

http://localhost:8086/Catalog/ASCustomSignPackage/?PackageId=19&Path=<ProgramFilesFolder\Windows Kits\10\bin)<WinSDKVer> x86\signtool.exe&Arguments=sign /fd SHA256/f *<ProgramFilesFolder>\testCA.pfx* /t http:/timestamp.digicert.com /p 123 /v "[filename]" 

Method

POST

Parameters

List all parameters in the following format:

PackageId= Specify the PackageID of the package.
Path= Specify the location of the signing tool or script. Supported file types include:
.exe (Executable)
.bat (Batch Script)
.vbs (VBScript)
.ps1 (PowerShell Script)
Arguments= Specify the command-line arguments required by the tool or script. These arguments are passed at runtime. Use the placeholder "[Filename]" wherever the MSIX file path should be inserted.

For more information, see Custom Signing with HSM Support.

Connection Info

Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs 

Response

Example:

http://localhost:8086/Catalog/ASCustomSignPackage/?PackageId=19&Path=<ProgramFilesFolder\Windows Kits\10\bin)<WinSDKVer> x86\signtool.exe&Arguments=sign /fd SHA256/f *<ProgramFilesFolder>\testCA.pfx* /t http:/timestamp.digicert.com /p 123 /v "[filename]" 

Response:

<Package signed successfully>