I am trying to set up SSL security for my application and i am using a self signed certificate for testing purpose.
I followed the steps as per this link
Self Signed Certificate I am using tomcat server.
Now,my problem is that,even after importing the server certificate in my browser,I am unable to access the HTTPS on port 8443,but i can successfully see the tomcat homepage on localhost:8080.
Am i missing any settings?
Please guide me through.
Thanks for the reply.
Yes,I hace configured my server.xml file and uncommented the portion for SSL configuration.I have also added the keystoreFile and keystorePass attributes,but still i am unable to run the link https://localhost:8443.
While making the CSR,do i have to provide CN as localhost,or localhost:8443?Because right now i am using the CN as localhost.
Thanks for your post.
I visited the site and performed the steps written there.
Now I have another problem on starting the tomcat server,although the SSL port has been configured successfully(it is displayed as 8443 in the eclipse server overview).
I get following exception stacktrace: