I am new to security part of any application. I have very basic knowledge about digital certificate. I heard that applications like Applets & Java web start that runs in client machine and access its service from a remote machine needs to digitally signed in-order to perform the activities without any restrictions.
I am having one Java web start application which is not yet signed, shows some security warning each time it is accessed by the users.
Following is the details of my Java web start application.
- Application uses Java web-start technology which communicates with the Servlets running on Tomcat7.
- DB is SQL Server 2012.
- Server Machine: Windows 64 bit 2008 R2 Enterprise Server.
- Java 7 update 25 64 bit
- All the files(JNLP, jarfiles) needed for the JWS-app and the Web-app is packed as a single war file and deployed to Tomcat7.
Can anyone provide some idea for following queries:
- Is signing the jar files in application is only way to avoid the security warning?
- Does signing jar file cost? Is there any way sign the jars for free?
- Currently the services which runs on Tomcat7 as a JavaEE application is accessed by Web start application through http connection. Do I need to use https instead of http once the jars are signed?
- I found that I need to add the following tag to .jnlp file:
<security><all-permissions/></security>
- Apart from above change is there anything else that I need to make in Java or xml files?
Note: We are getting some connection reset error for the users who access the application through internet. We notice this error after upgrading the java version from Java5 to Java7. Read some where that the security policy has been changed and now downloading unsigned jar files over network has some issue. But not exactly sure whether the error is due to the upgrade to java version or some changes to application code, since we don't have any exceptions in log file other than Connection reset.
Thanks in advance