Unable to login in openfire

Hi,

I have Openfire 3.6 server. So before sometime ago I loged in and changed my server name from localhost.localdomain to the newer one.

Then it has some yellow spot and alert "

Found RSA certificate that is not valid for the server domain.

"

So after changing server name.
I restart the server, and now I can logged in into Spark, unable to login into admin console i.e http://servername/ip:9090 with the same username password.

Will you please help me.

Sorry for my english.

Thanks in advanced