Is there a way to read out the Common Name from a device certificate?

For purposes of provisioning a device, it would be handy to be able to read out the Subject common name from the device certificate. You can't read the device cert from the application processor. Is there a way to cause the modem to parse the cert and return the Subject CN?

If there isn't, it sure would be useful, could something like this get added to the SDK at some point?

Failing that, what's the best way to store extra configuration information like this to the device at manufacture time? It would be handy to be able to have an extra slot available to the CMNG command just for storing manufacturing config info.