RE: Maximum size of a x509 certificate file

2009-06-18 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Kyle Hamilton > Sent: Wednesday, 17 June, 2009 17:38 > There is no upper limit on the size of an x.509 certificate > file in DER. Right. Although the size of the basic elements can be estimated fairly well: the size of KeyInfo is determined

Re: Maximum size of a x509 certificate file

2009-06-17 Thread Kyle Hamilton
2.5 hours. And the file size ended up (just the private key, in PEM format) 12603 bytes. -Kyle H On Wed, Jun 17, 2009 at 3:00 PM, Satish Chandra Kilaru wrote: > Thank you. I was thinking the same. I thought a 5K buffer should be > enough to store a 4K bit key in PEM format. > > I am curious to k

Re: Maximum size of a x509 certificate file

2009-06-17 Thread Satish Chandra Kilaru
Thank you. I was thinking the same. I thought a 5K buffer should be enough to store a 4K bit key in PEM format. I am curious to know how long it took for you to generate 16Kbit key. --Satish On Wed, Jun 17, 2009 at 5:37 PM, Kyle Hamilton wrote: > There is no upper limit on the size of an x.509 c

Re: Maximum size of a x509 certificate file

2009-06-17 Thread Kyle Hamilton
There is no upper limit on the size of an x.509 certificate file in DER. PEM takes DER and increases its size by 4/3. So no, there is no upper limit on the size of a PEM format certificate. Your private key is 4096 bits, or 512 bytes. OpenSSL stores private keys with their public counterparts (

Maximum size of a x509 certificate file

2009-06-17 Thread Satish Chandra Kilaru
HI All Is there be an upper limit on the size of a x509 certificate file in PEM format? Suppose that I am using 4096 bit key. Is there a way to calculate such length. Similarly is there an upper limit on the size of PEM format private key file? I am using 4096bit key. Thank you --Satish