Message Boards

Received fatal alert : protocol_version error in Liferay 6.2 with Java 7

Shahbaz Khan, modified 3 Years ago.

Received fatal alert : protocol_version error in Liferay 6.2 with Java 7

Junior Member Posts: 70 Join Date: 10/13/12 Recent Posts

Hello Friends,

 

I need to call a service to send a json post request.

When I'm calling it through a custom portlet I'm getting SSL exception with saying fatal error.

I tried to search and did modifications as said in different forums like adding  -Dhttps.protocols=TLSv1.1,TLSv1.2 to setenv.bat and adding System.setproperty method and many more but nothing works.

I knew need to upgrade the JDK to 1.8 but even that showing lot of errors and exceptions during startup of the tomcat server.

How can it be solve?

Thanks in Advance,

Mohammed Shahbaz Khan

 

 

thumbnail
Olaf Kock, modified 2 Years ago.

RE: Received fatal alert : protocol_version error in Liferay 6.2 with Java

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

You're on an outdated version of Liferay - and you don't mention the GA release. If I remember correctly, not all 6.2 releases were even compatible with Java8, so at a minimum you should be on the latest available GA release, with the available patch.

But, as you're there anyway: Upgrade more than just your JDK and move forward to the latest version. If only to be future proof and get more security fixes should they be required.

Other than that: Protocol support is rather dependent on Tomcat (or whatever Appserver you're running) rather than Liferay

Shahbaz Khan, modified 2 Years ago.

RE: RE: Received fatal alert : protocol_version error in Liferay 6.2 with J

Junior Member Posts: 70 Join Date: 10/13/12 Recent Posts

I'm using Liferay 6.2 GA 6.

I did most of the changes or modifications suggested by different blogs and forums.

It is suppose to work with Java 8 but my getting lot of errors when using JDK 8 during startup of the portal server.

Thanks.