Thank you for such detailed answer.
The issue was that I thought if I change the SSL certificate browsers may warn certificate has changed and not allow users to reach
mydomain.com.
Since I don’t have access to SSL certificate issued by Firebase I couldn’t find a solution. But later I learned that a site can be issued by multiple SSL certificates. So I created new SSL certificate and server application GAE application with new SSL certificate and no problem.
As you said bigger problem was migration.