ADDED support for deploying an intermediate cert chain file

Hi, I've added support for optionally deploying an intermediate cert chain file along with the other cert files. Hopefully you'll find it useful & worth including!