Cap-Capsman Certificates

I just to want to understand how CAP-s and CapsMan find out which is the correct Certificate.
In my understanding the generated name is the keyword, otherwise I need to set the Certificate to the right one instead of auto.
Am I right?

My issue based on I have deleted all the certs and now the auto setting not working between CapsMan and CAPs.

need to delete all certs in system/certificates delete all
set caps to request cert from cap
open capsman in wifi and set to auto on both CA CERT and CERT
it should produce a new cert then you can go to the cap and see it there
new 7.17beta fixed the cert issues wasn’t working but is now i have all my certs working