SSL Login After changed IP

Recently I installed this Panel from Amazon aws and then assigned an elastic IP to my own ec2. Now I cannot be able to login to the panel. It says ERR_SSL_SERVER_CERT_BAD_FORMAT

I have updated the IP for this instance and now it’s working but cannot log in into panel because I think SSL was configured for old IP

I think I should reissue the SSL for my IP again and then I can access to the panel. Please advise me how. I tried many things