mysite.com has a valid ssl Certificate. On mysite.com there is this Code:
echo "<script>window.location.href ='"mysite.com"'
(edit:) I found out that window.location.href indeed points to mysite.com but that Link is then forwarded with a proxy pass to othersite.com (while the URL from mysite.com is still shown).
Does othersite.com also need a valid SSL Certificate?