OSX Jaspersoft Studio SSL Handshake - ssl-certificate

I was trying to connect a JasperServer 5.5 running under SSL from Jaspersoft Studio 5.5 installed in a OSX machine. I was getting the error:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This wiki Using SSL certificate in Jaspersoft Studio 5.5 explain how to solve the problem by adding the certificate to the Jaspersoft Studio specific holder for its security certificate in the already included JRE, the exact location is in the link. However it did not work. Maybe this is a solution only for a Windows installation.
Finally after so much struggle I installed the SSL certificate in the default java folder and it worked.
/Library/Java/Home/lib/security
Even though the process works I want to be sure that is the right way to proceed so I can apply it to other machines.
Question:
Is this the right way to install the certificate for Jasper Studio?
Is Jasper Studio ignoring its included JRE installation when running in OSX?
In case somebody wants to know how I created and installed the certificate:
Using this website http://miteff.com/install-cert download the IntallCert java application and execute it against the server.
java InstallCert server.domain.com
This will connect to your SSL website and create the certificate file. Just press Enter when asked for more data.
It will create the jssecacerts file. Copy this file to the folder /Library/Java/Home/lib/security
Now you will be able to access your SSL JasperServer from Jaspersoft Studio.

My proposed solution is the best answer until now.
Using this website http://miteff.com/install-cert download the IntallCert java application and execute it against the server.
java InstallCert server.domain.com
This will connect to your SSL website and create the certificate file. Just press Enter when asked for more data.
It will create the jssecacerts file. Copy this file to the folder /Library/Java/Home/lib/security
Now you will be able to access your SSL JasperServer from Jaspersoft Studio.

Related

I have installed Lince Bi on Windows machine but on connecting SQL server it is showing SSL error

I have installed Lince Bi on Windows machine but on connecting SQL server it is showing SSL error.
"com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "No trusted certificate found". ClientConnectionId:92c4c4cd-5088-45d0-97c6-363303c25af1
"
I already added trust certificate
If the driver keeps failing with the encryption error, make sure to provide the "Encrypt=false" parameter to the data source.
You need to provide the apropriate Microsoft JDBC driver in order to LinceBI work correctly as well.
You can download it from Microsoft: Download Microsoft JDBC Driver for SQL Server
I use mssql-jdbc-10.2.1.jre8.jar because I'm using Java JDK 8.
The driver must be put inside the lincebi_web\tomcat\lib directory.
Best Regards!

The remote certificate is invalid according to the validation procedure using IdentityServer3

I am using the ThinkTecture IdentitySever3 in my Web Api project and it has been working fine for the past 2 months in the project I am developing. Suddenly as of today, I am running into this exception when I try to use authentication:
"The remote certificate is invalid according to the validation procedure"
The project is using the idsrv3test.pfx that comes as a part of the IdentityServer3 samples.
Any ideas why it would suddenly start to behave like that? And how to fix it of course?
I was running into very similar issues.
I had to go into MMC add the certificate plugin.
Find and remove all certificates with localhost.
Reboot
Go to programs and features in windows Search for IIS Express and select REPAIR
Reboot
Launch Visual studio 2015 Open my Application with IdentityServer in it.
Run it and accept the prompt in VS 2015 to add and trust the
localhost cert.

how to install ssl on windows IIS server 2008

I am trying to enable https on windows server 2008. I followed below link.
https://www.sslshopper.com/article-installing-an-ssl-certificate-in-windows-server-2008-iis-7.0.html
https://www.digicert.com/ssl-certificate-installation-microsoft-iis-7.htm
A ssl certificate get added but at the time of binding with https, it doesn't show any certificate added. please give me some reference link or tell me if i am doing any wrong config?
https://blog.lextudio.com/2015/06/the-whole-story-of-server-certificate-disappears-in-iis-77-588-510-0-after-installing-it-why/
Just make sure you create a PFX file as IIS wishes. Then you can import it easily.

MobileFirst Studio 7.0 installation

Installing IBM MobileFirst Studio 7.0 using MFPF_7.0_ELP_UPD_IBM_MF_STUDIO.zip but due to local LAN security we are not able to get dependency from eclipse market place which are required and downloaded directly from download.eclipse.org org. Where can we download necessary requirements and use this as local repository?
You can try this .zip file, but I'm pretty sure it is the same: http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/mobilefirst_studio_plugin_7.0.0.zip
When using the .zip file, you can also attempt the installation with the "Contact all update sites..." checkbox un-checked, before proceeding with the installation in Eclipse.
In general, the MFP Studio installation requires an outside Internet connection.
Find a location with a working connection, install. Make a copy of your Eclipse for future use.
Standard scenario for this setup is to have a central installation (with Internet connection). Then archive that specific installation, and then sneakernet it each of the disconnected workstations. You must do this for each type of workstation (Win/OSX/Linux) to be supported. No its not optimal, but does resolve the problem. Hope this helps.
You can check with your network administrator if they can allow your machine to access to the internet via a proxy server. If this is possible all you need is to configure the network connection in Eclipse to include your proxy server setting. You can see the detail here:
http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm

Configuring Phpschedule it on A WAMP Server

I am trying to deploy the Phpscheduleit(http://sourceforge.net/projects/phpscheduleit/) open source software on a WAMP Server version 2.4.
One of the instructions states "The web server must have write access (0755) to /your-booked/tpl_c and /your-booked/tpl" Does anyone have any idea where I could change the write access to 0755?
Thanks.