[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How to sign an applet for MS JVM and Sun JVM?

Posted on 2004-03-29
11
Medium Priority
?
421 Views
Last Modified: 2013-11-21
I have a Java program written for 1.1 that can be standalone, or as an applet. However, since it is our backup program if our VB program fails to install, we prefer it to not be installed onto the client's computer, so as far as I can tell, I need to use it as an applet. Also, since our clients can be people using Win98 and MS JVM, it needs to be able to work with both MS JVM and Sun's.

The applet is hosted on the server it needs to open sockets with, however, in order to add proxy support to the applet, from what I can gather, is that it needs to be signed in order to have permissions to open sockets with the proxy instead.

Doing a search on the web, I've found that I can sign it with MS Java SDK, or Sun's Javakey. I can't find any links that will allow me to get the MS SDK. From the steps I've read on Javakey, it requires the client to manually accept certificates in the console, which is unacceptable.

How would I sign this applet so that it works on both JVMs and causes little (a security warning to be accepted at most) hassle for the client?
0
Comment
Question by:frankmorrison
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 2
11 Comments
 
LVL 92

Expert Comment

by:objects
ID: 10709826
You need to produce both a signed cab and a signed jar.
0
 
LVL 92

Expert Comment

by:objects
ID: 10709834
>  in order to add proxy support to the applet

what sort of proxy support?
0
 
LVL 1

Author Comment

by:frankmorrison
ID: 10709875
> You need to produce both a signed cab and a signed jar.
Yes, how would I do this?

> what sort of proxy support?
Currently, I am trying to get at least one authentication scheme going, so I have Basic added into the code. I'm planning to get Digest and maybe NTLM/Kerberos support added in eventually.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
LVL 92

Expert Comment

by:objects
ID: 10709887
0
 
LVL 92

Expert Comment

by:objects
ID: 10709895
Does your applet need to connect to a box other than the one it loaded from?
0
 
LVL 92

Expert Comment

by:objects
ID: 10709899
0
 
LVL 1

Author Comment

by:frankmorrison
ID: 10710006
> http://personal.vsnl.com/sureshms/javasign1.html
This link gives methods for 1.2.2/1.3. I am using 1.1.

http://www.mindprod.com/jgloss/signedapplets.html
This link gives methods mainly for 1.2+, but also has the MS Authenticode method which will work, but I need the MS SDK for.
I will award points if you can get me the link to the MS Java SDK, otherwise, this solution is a nogo.

> Does your applet need to connect to a box other than the one it loaded from?
Yes, it does. Our software needs to be able to work through a client's own proxy.
0
 
LVL 92

Expert Comment

by:objects
ID: 10710111
> This link gives methods for 1.2.2/1.3. I am using 1.1.

it includes details for signing both for plugin and for MS VM.

>  if you can get me the link to the MS Java SDK,

The MS JDK is no longer available.
0
 

Expert Comment

by:lhshyong
ID: 10710207
Hi,

Now Microsoft no longer support Java, so might hard to get the MS SDK, and as objects say, can consider no longer available, for information, maybe you can try this address.

http://support.microsoft.com/default.aspx?scid=kb;en-us;193877

Why not u use up the Sun SDK to sign the applet ?
0
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 10710231
0
 
LVL 92

Expert Comment

by:objects
ID: 10718385
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
What You Need to Know when Searching for a Webhost Provider
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question