Jump to content
We've recently updated our Privacy Statement, available here ×

javax.net.ssl.SSLHandshakeException using Jasperreport Studio instead of iReport


renssak

Recommended Posts

Hi all,

I hope, you could help me.

I want to use JasperSoft Studio 5.6.2 instead of iReport which I currently use.

Jasperserver is 5.5.0 Professional.

 

With iReport I can connect to the server with the following properties without any problems:

ID:        Jasper-Server 5.5 - 01_ORGANIZATION_NAME

Server-URL:    https://<IP-address>/jasperserver/services/repository

Organization:    ORGANIZATION_NAME

        username & password

In Jaspersoft-Studio I use the same connection-parameters and get a javax.net.ssl.SSLHandshakeException

Could anybody explain me, how to install the nessecary cert files on server and client.

Thank you in advance.

Regards

Martin

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Hi Massimo,

thanks for yor answer, but the links I knew before.

Is it right, that I have to create a keyfile on my local machine and put this file into the Studio on the same machine?

For example I tried to create the key with:

keytool -genkey -alias tomcat -keyalg RSA

and to import it with:

keytool -import -keystore "<jasper_home>Jaspersoft Studio-5.6.1.finalfeaturesjre.win32.win32.x86_64.feature_1.7.0.u67jrelibsecuritycacerts" -file c:Usersusername.keystore

Then I got the reply

Keytool-Error: java.lang.Exception: Input is no X.509-certificate

Or do I have to create the key on my local machine and import it on the jasper-server?

 

Regards

 

Martin

 

Link to comment
Share on other sites

  • 1 month later...

After I got the right server-certificate it runs with the following command on my windows workstation:

"<jasper_home>Jaspersoft Studio-5.6.1.finalfeaturesjre.win32.win32.x86_64.feature_1.7.0.u67jrebinkeytool" -import -keystore "<jasper_home>Jaspersoft Studio-5.6.1.finalfeaturesjre.win32.win32.x86_64.feature_1.7.0.u67jrelibsecuritycacerts" -alias JaspersoftStudio -file "<jasper_home>Jaspersoft Studio-5.6.1.finalcertifckate<cert-name>.crt" -storepass changeit

Regards

Martin

Link to comment
Share on other sites

  • 8 months later...

I had this issue and it was resolved more easily than the above solutions:

  1. Close Studio.
  2. Find the 'Jaspersoft Studio Professional.ini' file which should be found in the folder where Studio was installed.
  3. Add the following line at the bottom of the 'Jaspersoft Studio Professional.ini' file:

 -Djsse.enableSNIExtension=false

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...