How <caref>code in the confing.xml is generated?
By looking at the config.xml file I have found under the certificate ( <cert>tag) the <caref>tag,
I was wandering, How the <caref>code is generated? and could I generated with python?
It is generated using PHP's
uniqid()function. The value itself isn't a special format or meaningful in any way to that CA, it's just a value that is reliably unique which is used to track that specific entry. Sort of like a short UUID. There is likely a similar function in python.
Thank you for the response
its generated like the refid filed.
On a cert, it's the refid of the CA that signed the cert. So it's copied from the CA refid.