I am programming a Certificate Authority in java for the uni class, now I do not know which is the best option for the certificate serial number.
Is there a good reason to choose one over the other ... or none of them?
thanks,
I would recommend using a random number, but keep a list of these serial numbers in the database. This will do two things.
, # 1 , , , № 2 - - , , -.
0 veryBigNumber , bigRandomNumber - .
- , , , .
, . , , , .
, , . , ( ) , , .
, (Issuer distinguished name, serial number) . , , . 20- . , , , .
(Issuer distinguished name, serial number)
SSL- (Alex Sotirov et al.), MD5, . . , - , , MD5. MD5.
, Serial, .... , , ..
I accidentally came across this question by accident, and from the answers you might think that a predictable serial number is not a security issue. I would say that this is a problem and that random serial numbers are much safer. Wed Flame attack et al. here or here or wikipedia article " Predictable serial number attack .