Method for checking whether the certificate in the soap is trusted.