Message Boards

How to redirect http to https after installed SSL certificate in Liferay7?

Shawn Lee, modified 2 Years ago.

How to redirect http to https after installed SSL certificate in Liferay7?

New Member Posts: 9 Join Date: 12/16/19 Recent Posts

Hi all,

I have sucessfully done SSL certificate installation in Liferay7.2 tomcat. And both HTTP:// and HTTPS:// can be visited well. But I have no idea to give a redirect from HTTP to HTTPS. I hope wen visit domain, it can be redirect to HTTPS. Who can give me some advice? Thanks a lot!

thumbnail
Olaf Kock, modified 2 Years ago.

RE: How to redirect http to https after installed SSL certificate in Lifera (Answer)

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts

I prefer to use a reverse proxy, where this is trivial to configure.

If you want to stay purely on tomcat, check this stackoverflow post.

Shawn Lee, modified 2 Years ago.

RE: RE: How to redirect http to https after installed SSL certificate in Li

New Member Posts: 9 Join Date: 12/16/19 Recent Posts

Thanks your reply :) I have done by domain provider platform configuration according your advice. thanks again!