VPN Client, PCF and CertSerialHash

Unanswered Question
Oct 16th, 2007
User Badges:

Hi there


We need to check which certificate is used in a VPN profile. We can't use CertSubjectName because there are two certificates with different purposes but same Subject Name. The only difference is found in Serialnumber of the certificate.

How is the CertSerialHash computed in pcf? We would like to try a camparison of hashes...


Stephan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
tstanik Mon, 10/22/2007 - 07:08
User Badges:
  • Bronze, 100 points or more

Based on the certificate serial number you can manually obtain the serialhash the following way:

First converting the hexadecimal serial number to decimal and then to ASCII using some tool. Then compute the MD5 serialhash of the value obtained.

Actions

This Discussion