We have implemented https on our Magento store a few months back and everything seems fine exceptive noted that the server response for 301 redirects don't seem to be honoring the https://
The server response is similar to this.
Location: http://www.example.com
Redirecting to: http://www.example.com
This is then leading critters to HTTP versions of the page then a 301 to the https version, creating a loop.
Is this correct or is something wrong causing the server to output http and not https?