Skip to content

Can't timestamp my self-signed authenticode certificate #19577

@CaptainFrosty

Description

@CaptainFrosty

Prerequisites

Steps to reproduce

Attempt Set-AuthenticodeSignature -FilePath D:\Documents\PowerShell\Microsoft.Powershell_profile.ps1 -Certificate $cert -HashAlgorithm "SHA256" -TimestampServer "http://timestamp.verisign.com/scripts/timstamp.dll"

The file shows no timestamp on the signature no matter which timestamp server I try.

Expected behavior

A Timestamp

Actual behavior

A successful signing with no timestamp.

Error details

N/A

Environment data

PSVersion                      7.4.0-preview.3
PSEdition                      Core
GitCommitId                    7.4.0-preview.3
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

I also tried on the system PowerShell.

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-InvestigationThe behavior reported in the issue is unexpected and needs further investigation.WG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions