How to identify root and intermediate certs in the wallet
I thought it would be easy to figure out root and intermediate certs, export them and then import into new wallet.
Some certs have base , intermediate and root and some not.
what is the best approach to identify and export the right ones? or direct me to relavent document.