CLOUDSTACK-7822: Fixed SSL Cert Tests and relaxed chain validation