Merge "Build cert chain in KeyChain.getCertificateChain"