Re: [openssl-users] Leading Zeros in ASN1_INTEGER?

2017-01-30 Thread Erwann Abalea
or Dukhovni <openssl-us...@dukhovni.org<mailto:openssl-us...@dukhovni.org>> Gesendet: Samstag, 28. Januar 2017 17:00:53 An: openssl-users@openssl.org<mailto:openssl-users@openssl.org> Betreff: Re: [openssl-users] Leading Zeros in ASN1_INTEGER? > On Jan 28, 2017, at 10:

Re: [openssl-users] Leading Zeros in ASN1_INTEGER?

2017-01-30 Thread Jeffrey Walton
On Mon, Jan 30, 2017 at 5:03 AM, Matthias Ballreich wrote: > thanks for explanation. > > But why did Windows Cert Manager and Firefox Cert Manager show 00BEED73EE as > serial number instead of BEED73EE (which openssl shows)? Its just a presentation detail. It

Re: [openssl-users] Leading Zeros in ASN1_INTEGER?

2017-01-30 Thread Matthias Ballreich
penssl-us...@dukhovni.org> Gesendet: Samstag, 28. Januar 2017 17:00:53 An: openssl-users@openssl.org Betreff: Re: [openssl-users] Leading Zeros in ASN1_INTEGER? > On Jan 28, 2017, at 10:01 AM, Matthias Ballreich > <matthias.ballre...@outlook.de> wrote: > > is it normal that Ope

Re: [openssl-users] Leading Zeros in ASN1_INTEGER?

2017-01-28 Thread Viktor Dukhovni
> On Jan 28, 2017, at 10:01 AM, Matthias Ballreich > wrote: > > is it normal that OpenSSL removes the leading Zeros in an ASN1_INTEGER? > I tried to read the Certificate Serial and the Certificate Serial in the > AuthorityKeyID-Extension with C++, which works

[openssl-users] Leading Zeros in ASN1_INTEGER?

2017-01-28 Thread Matthias Ballreich
Hi there, is it normal that OpenSSL removes the leading Zeros in an ASN1_INTEGER? I tried to read the Certificate Serial and the Certificate Serial in the AuthorityKeyID-Extension with C++, which works very well, but i noticed that OpenSSL removes the leading Zeros on it. The real ASN1-Value