Unable to access NAM Console after restart Tomcat8. (Certificate is invalid and issued to local host)

Hi,


I hit an issue where after restarted the tomcat8 service for Access Manager Console, i unable to access to the console.

When i see the certificate it shows issued to localhost. 


Below is the error when i trying to access my webpage

Firefox detected a potential security threat and did not continue to test.my because this website requires a secure connection.

test.my has a security policy called HTTP Strict Transport Security (HSTS), which means that Firefox can only connect to it securely. You can’t add an exception to visit this site.

When i trying to acces IDP, it hit the error below.

Unable to authenticate. (100101044-esp-8110572928887714)




The stdout and stderr did not show any error on this. Previously is working fine before i restarted the tomcat8. I've tried restart server & service again but it still not working.