How to sign an applet

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • [size:14pt]How to sign an app[/size]
    Signing your java applet allows you to access a users computer. For example you can connect to the internet with Mooclick. Before you get started you must download and install the lastest Java Dev kit (Please login to see this link. and download the Java SE JDK).

    Once you have installed the JDK, go to command prompt. Then change the directory to C:\Program Files\Java\jdk1.6.0_14\bin (or wherever you installed the JDK). Then enter the following:

    Code
    keytool -genkey -alias mykey

    Replace "mykey" with the name of the key you want to make. You will probably then be asked to enter a password. This is usually your windows password. Your already built Java Applet should be in the "bin" folder. I find it works best if there are no spaces in the name of the jar file. Then type this:

    Code
    jarsigner -signedjar nameofsignedjar.jar nameofunsignedjar.jar mykey

    Change "nameofsignedjar.jar" to what you want the name of the signed applet to be. Then change "nameofunsignedjar.jar" to the file name of your built applet. The nameofsignedjar.jar should not be the same as the nameofunsignedjar.jar. Finally change "mykey" to the name of the key you generated earlier. Now press the enter/return key. You may be promted again to enter a password. Do this then press return again. Your applet should now be signed. It will be contained in the bin folder.

    The sign will expire after 6 months, but you can always sign it again.

    If you can't be bothered to sign the applet, send it to me via PM and I will do it for you. Please use this form:
    Desired key name:
    Name of signed applet:
    Link to unsigned applet:

  • @DarkeSoft: Not sure. Sorry.

    Signing Helper
    This is a little utility that I made to make signing applets easy. Here:
    Please login to see this link.

    If the java version doesn't work, use the exe version below:
    Please login to see this link.

    Please login to see this picture.

  • Maybe it would be useful for clickteam to include a signing option as part of the build process in a future release ;)

    I would make a batch file and right click send to...

    Regards

    Ross

    Please login to see this link.

  • Thanks Game Master for the Signing Helper, that's very useful.
    The Java does not work on Mac, though. :(
    About a signing option: Francois said that Clickteam do not have their own signing tool. (in Please login to see this link. thread)

    Simon Czentnar - Please login to see this link. - Please login to see this link.

  • What do I do if it says jarsigner is not recognized as an internal or external command, operable program, or batch file?

    Sorry if this is obvious, I haven't worked with Java or command prompt before.

    Thanks

  • Ok, I have a signing issue. I tried the original method and got "unable to sign applet". And using the helper I get, "certificate chain not found for: Name. Name must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain"

    I just left it as mykey for simplicity when I created (or thought I did). What do I do now?

    Windows 7 64bit
    6GB RAM
    Nvidea GTS 450
    Quad Core Processor
    Multimedia Fusion 2
    Flash Exporter

  • Click on Start Menu > Run > cmd.exe (hit enter)

    Command prompt is a dos shell in windows. To change directory as per the instructions above use cd C:\Program Files\Java\jdk1.6.0_14\bin or whatever JDK folder you want to use.

    Game Launcher Creator V3 - Please login to see this link.
    Bespoke Software Development - Please login to see this link.
    Learn Clickteam Fusion 2.5 - Please login to see this link.

    Danny // Clickteam

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!