Results 1 to 4 of 4
- 09-04-2008, 09:46 PM #1
Member
- Join Date
- May 2008
- Posts
- 26
- Rep Power
- 0
[SOLVED] How to self-sign an Applet?
Hello,
I am trying to build a TCP applet client that is to connect to a remote server and send and receive data. I know that I cannot do this unless the applet is sign and granted permission by the client’s browser. My question is how do I go about self signing an applet? I read in a few other threads that it’s the jar file that gets signed, correct? My next question is after I sign it, do I apply to html code as usual? If so, what do I do with the jar file?
I would really appreciated it if someone can write a small tutorial detailing how to sign, and use it once its signed. Thank you so much in advance.Last edited by Master Zero; 09-05-2008 at 03:07 PM.
- 09-04-2008, 11:15 PM #2
- 09-04-2008, 11:47 PM #3
Here are the two batch files I used to sign a jar file:
@REM Create a keystore for testing AppletReader
keytool -genkey -alias signApplet -keypass SomeKey -keystore SomeKS -storepass SomeStore
MORE@REM Sign AppletReader.jar to new jar file
@echo keytool -genkey -alias signApplet -keypass SomeKey -keystore SomeKS -storepass SomeStore
jarsigner -keystore SomeKS -signedjar sAppletReader.jar AppletReader.jar signApplet
MOREPut the jar file with the html file with the <APPLET tag.whhat do I do with the jar file?
- 09-05-2008, 07:34 AM #4
Member
- Join Date
- May 2008
- Posts
- 26
- Rep Power
- 0
Thank you!
I was able to sign it and load it from a local HTML file, but I can’t load it from my web sever. It seems that it can’t find the class.
Error
Codeload: class VNC not found.
java.lang.ClassNotFoundException: VNC
<applet code='VNC' archive='VNC.jar' width='100%' height='100%'></applet>Last edited by Master Zero; 09-05-2008 at 03:06 PM.
Similar Threads
-
digital sign libraries
By Shuru in forum Advanced JavaReplies: 4Last Post: 11-07-2008, 08:01 AM -
Configuring single sign on tomcat
By psrklr in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 08-24-2008, 06:53 PM -
[SOLVED] Simple Scanner Method - Plus Sign throwing me off...
By Josh.Hoekstra in forum New To JavaReplies: 2Last Post: 06-02-2008, 10:24 PM -
Enterprise Sign On Engine Beta 2
By JavaBean in forum Java SoftwareReplies: 0Last Post: 11-12-2007, 06:00 PM -
Enterprise Sign On Engine 0.3
By JavaBean in forum Java SoftwareReplies: 0Last Post: 07-10-2007, 09:43 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks