Calculate TLS certificates hash certPem — file or cert content
certPem
String getCertChainHash(String certPem);