How <caref>code in the confing.xml is generated?
-
Hi all.
By looking at the config.xml file I have found under the certificate ( <cert>tag) the <caref>tag,
<cert><caref>5715fc5f5b530</caref>I was wandering, How the <caref>code is generated? and could I generated with python?
Thank you
</caref></cert></caref></cert> -
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.