RE: Facing issues while enabling SSL in Liferay Tomcat Server

Ujjal Ray, modified 5 Years ago. New Member Post: 1 Join Date: 4/23/20 Recent Posts
We are developing a portal application using Liferay Community Edition 7.1.2 CE GA3. We are trying to import security certificate in Liferay Tomcat server and then enabling  SSL in the server. The certificates were obtained with a CSR file which was generated in the same server.We are getting message that the connection is no secure even after the changes in server.xml and restarting the tomcat serverAttaching the details:1. Liferay Community Edition Portal 7.1.2 CE GA32. Attaching the logs along with the steps we are taking for the generation and installationof the certificates
3. Certificate Vendor:- SifySafeScrypt (Sify Technologies Limited)Please help us to enable the SSL connection
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
The only thing that looks of to me is the alias of the certificate.  Since you named your certificate "qaemamigroup", you need to specify keyAlias="qaemamigroup" in the connector. Can you try to add that and restart?
I hope this helps, but you should check the certificate you get in the browser. When you connect to the server and the browser complains, check the certificate you get (all browsers offer some option to do that). It usually also tells you there, what the problem with the certificate is. Maybe it doesn't like something else.
And when you are finished, I would also use a tool like https://www.ssllabs.com/ssltest/ to test the certificate and connection settings.