COOK-3619: Support intermediate SSL certificates