Re: Leading zeros in serial numbers

2003-03-31 Thread Peter Sylvester
> > I think he means he wants serial numbers "001" "002" ... "010" ... etc. > > I dont think that's allowed; ASN.1 integers don't have leading zeros. > /r$ Integers don't have leading zeros, a representation of an integer may have a leading zero. If someone want to make a sort based on ser

Re: Leading zeros in serial numbers

2003-03-31 Thread Rich Salz
OpenSSL follows the DER specifications: if the serial number is positive and the MSB is set then one leading zero is added. Anything else would break the standards. I think he means he wants serial numbers "001" "002" ... "010" ... etc. I dont think that's allowed; ASN.1 integers don't have leadin

Re: Leading zeros in serial numbers

2003-03-31 Thread Dr. Stephen Henson
On Mon, Mar 31, 2003, Michiels Olivier wrote: > Hi, > I've to insert a serial number in my certificates with one or more zeros > leading the serial number. Is that possible with Openssl ? If yes, what > I've to do ? > OpenSSL follows the DER specifications: if the serial number is positive and t