Set the certificate information regardless of whether or not the protocol is set to https in the case of a redirect from http -> https
Merge pull request #1 from aianchici/configure-certs-for-redirects

Set the certificate information regardless of protocol