Fix mixed-content SSL error