verifyCertificateChainInPEM
Verify if the chain is valid and the certificates are signed by the next one until we have verified against the host certificate (defined by the host application) An empty chain or one with only one element is considered valid by default.
Return
true if the chain is valid, else trows exception
Parameters
certificateChainInPEM
Chain of certificates which is need to be validated formatted as PEM strings