Lost HTTPS due to new IP address for my website. How to get a new certificate?

The first one maybe just be your DNS not up to date yet. If it’s a new addition, it may take a day or two.

I can reach the second one, but it redirects to https and then shows the 522.