title: Why does OSX and Windows import my .pfx file differently?
body: <p>I've got a .pfx file I can't share (work-related), but when I load it up on Windows my public key starts with <code>30 82 01 0a ... (truncated, see screenshot)</code></p>
  <p><a href="https://i.stack.imgur.com/9HwuV.png" rel="nofollow noreferrer">Windows screenshot</a></p>
  <p>And when I load it up with on macOS it begins with <code>BF:CF:10...</code></p>
  <p><a href="https://i.stack.imgur.com/fpTGF.png" rel="nofollow noreferrer">macOS screenshot</a></p>
  <p>Even though it is the same file, the serial number of the loaded certificate and the public key seem to differ, which is causing problems for my C# Unity project when I try to connect to it. They have the same Authority Key Identifier, Subject Key Identifier, and Thumbprint, but differ in their Serial Number (<code>4274337a15ab78c4</code> for Windows, and <code>4788598903244265668</code> and public key).</p>
  <p>Is there a reason why Windows and macOS would differ in the details when loading the <strong>same</strong> certificate file?</p>