I found this MSDN article that explains how to retrieve information for Authenticode signed executables. It retrieves data in the following format:
Signer Certificate:
Serial Number: 00 90 1a 1a 1b 1c 1c 26 3d 4f 56 61 70 8f 94 7f e0
Issuer Name: COMODO Code Signing CA 2
Subject Name: Signer's Name
My goal here is to verify that the EXE file is signed with the specific signing certificate that belongs to the company. For that I can obviously check Subject Name
, but I'm curious about the Serial Number
:
Can
Serial Number
be used to verify that the EXE file is signed with a specific certificate? My tests showed that it doesn't change if I sign more than one file.Will this serial number stay the same when the certificate is renewed?