Is there a standard way of adding a custom data field, in my case a mac address, to a certificate. I sign them myself and they are used in a closed environment.
What I would like is a mechanism so that I can specify the mac address parameter via the commandline when calling "openssl req...", maybe using the "-subj" line.
- Is it possible to write the openssl.cnf in such a way that
a new field is added in the extensions section that can be
set via the commandline option. I.e. if the fieldname is
"mac" then via
-subj ".../mac=0x023445344556..."
or some other commandline switch.
Or is there some other way i.e. via environment variables...