i will deploy a fleet of offline only deviced to the field. They will authenticate to each other with a x509 TLS certificate signed by a custom chain, which each will hold inside of a hardware crypto element.
Is there a field in a x509 certificate that is widely used for storing a device type and serial number?
The common name (CN) could be used, but is checked for a valid domain by some libraries automatically which disqualifies it in my point of view.
Adding a custom certificate extension seems to also be not ideal as some libraries might not support this, as i have read.
Is there a field that is widely supported and can be used for arbitrary userdata?