Results 1 to 4 of 4
Thread: Warnings: Running Applet
- 11-03-2010, 03:27 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 56
- Rep Power
- 0
Warnings: Running Applet
Hello...
I have a java applet program that uses external libraries jar files as well....
The applet's jar file is called in a html file..... And I am signing the applet's jar file using the keytool in the cmd...
The program runs fine But I get 4 to 5 times the following warning before the applet is launched...
Any idea on how to get rid of these warnings.....Java Code:Applet's digital signature cannot be verified. Do you want to run this applet ?
Many Thanks...
Regards,
Sarwar
- 11-04-2010, 07:23 AM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Yeah, get it signed by an actual signing authority rather than self-signing. Or get the "client" to install your certificate into their "trusted" store.
- 11-11-2010, 10:25 AM #3
Member
- Join Date
- Sep 2010
- Posts
- 56
- Rep Power
- 0
Hello,
I need to describe the problem in more details....
I am using windows vista and the Eclipse Helios for the development of a Java project which is essentially a JApplet.... The applet can read and write files to the local file system....
1) My project uses 3 external jar files... And I am signing them and verifying that they are signed before I add those external jars to my project...
2) When I develope the project in Eclipse and run it as applet it works fine.... All of the project class files and the resources are in the folder in my user home directory under the eclipse work space....
3) Then I export the jar file for the project... And before that I created the manifest file and added that to the jar file as well.... where the manifest contains the following....
Java Code:Manifest-Version: 1.0 Main-Class: WindSpeedAnalysis
4) Then I sign the applet jar file using the same method and verified that jar is signed.....
5) In write the html code for applet:
Java Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>MyWindReport</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> </head> <body> <applet code = "WindSpeedAnalysis" archive = "WindSpeedAnalysisJar.jar,commons-csv-20070724.jar, krysalis-jCharts-1.0.0-alpha-1.jar,iText-5.0.4.jar" width = "100%" height = "100%" > </applet> </body> </html>
6) Then I put the html file, applet's signed jar file along with certificate, and also the external signed jar files, and the resource folder in the same folder....
Now When I run the html using the browser, I get the security warnings as described above....
Any idea, of how to solve this issue....
Many Thanks.... :)
Best Regards,
- 11-11-2010, 10:44 AM #4
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Similar Threads
-
Applet not running in
By sgtmac1995 in forum Java AppletsReplies: 0Last Post: 10-18-2010, 04:36 PM -
running an applet
By ksatty in forum Java AppletsReplies: 4Last Post: 01-08-2010, 10:12 AM -
Java Applet Not Running
By kahaj in forum Java AppletsReplies: 4Last Post: 10-08-2009, 12:11 AM -
First Applet not running on browsers
By Centinela66 in forum Java AppletsReplies: 11Last Post: 10-09-2008, 01:58 PM -
Getting url of page applet is running on
By damounh in forum Java AppletsReplies: 1Last Post: 05-09-2008, 05:49 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks