SSL Certificates leading zeros are displayed in Windows but not Unix | ksh shell : <p>I'm trying to get the SSL serial number from a certificate but windows is displaying leading zeros but unix is not, I'm using openssl x509 in unix to extract the serial number, do you know why or how could solve this issue?</p>

<p>Unix Example: </p>

<pre><code>openssl x509 -noout -in ssl.extracted.crt -serial
</code></pre>

<p>Unix Output Example:</p>

<pre><code>D01E408B
</code></pre>

<p>Open the certififcate in windows and looks like this the serial number:</p>

<pre><code>00D01E408B
</code></pre>
