Simple Powershell gui script for code signing with digital certificate.

digital signature is a mathematical scheme for verifying the authenticity of digital messages or documents. A valid digital signature, where the prerequisites are satisfied, gives a recipient very strong reason to believe that the message was created by a known sender (authentication), and that the message was not altered in transit (integrity).

Script can be modified as you want to made.

Updated 07/04/2019


    Simple code signing powershell script. 
    Author: 01/04/2019 @ Roman Krylov - Prologic LTD.  
    Author: 01/04/2019 @ Roman Krylov - Prologic LTD. 
$store = Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert 
$date = (Get-Date).AddDays(-30) 
If ($store -eq $null) { 
       Write-Host -ForegroundColor Red "You do not have signing certificate" 
       $issue_cert = Read-Host "Would you like to issue signing certificate? Y or N" 
        if ($issue_cert -eq 'Y'){ 
       Write-Host -ForegroundColor Green "Obtaining Code Signing Certificate"  
       Get-Certificate -Template TemplateName -CertStoreLocation Cert:\CurrentUser\My 
       Write-Host -ForegroundColor Yellow "Warning!!! First time issuing must CA Administrator interaction for certificate approvement, and extraction"  
       write-host "Complete!"