Make self signing option of 'x509' use random serial numbers too.