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
4 Answers:
Hi,
please give a look at the following references:
- http://community.jaspersoft.com/questions/822967/jasper-studio-and-jaspe...
- http://community.jaspersoft.com/wiki/using-ssl-certificate-jaspersoft-st...
Regards,
Massimo.
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.final\features\jre.win32.win32.x86_64.feature_1.7.0.u67\jre\lib\security\cacerts" -file c:\Users\username\.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
After I got the right server-certificate it runs with the following command on my windows workstation:
"<jasper_home>\Jaspersoft Studio-5.6.1.final\features\jre.win32.win32.x86_64.feature_1.7.0.u67\jre\bin\keytool" -import -keystore "<jasper_home>\Jaspersoft Studio-5.6.1.final\features\jre.win32.win32.x86_64.feature_1.7.0.u67\jre\lib\security\cacerts" -alias JaspersoftStudio -file "<jasper_home>\Jaspersoft Studio-5.6.1.final\certifckate\<cert-name>.crt" -storepass changeit
Regards
Martin
I had this issue and it was resolved more easily than the above solutions:
- Close Studio.
- Find the 'Jaspersoft Studio Professional.ini' file which should be found in the folder where Studio was installed.
- Add the following line at the bottom of the 'Jaspersoft Studio Professional.ini' file:
-Djsse.enableSNIExtension=false