When I try to map a domain using SSL I get a redirect loop.

When I try to map a domain using SSL I get a redirect loop. What can I do to fix this?