Solved

Java Programming question

Posted on 1997-06-27
7
184 Views
Last Modified: 2010-04-16
Need to download a trusted applet (previously signed with javakey and
packet into .Jar archive). It seems to work with appletviewer, but it
doesn't under Netscape 4.01.
How is it possible?
Thanks,
                            Andrew
0
Comment
Question by:della030797
  • 4
  • 2
7 Comments
 
LVL 1

Accepted Solution

by:
mann061997 earned 0 total points
ID: 1222319
- you need a certificate from a CA; for testing get VeriSign's
  free test certificate
- install the certificate in Communicator
- create the signed JAR using Netscapes JAR Packager; as far
  as I know, signed JARs created using the JDK jar tool are not
  accepted by Communicator.

0
 

Expert Comment

by:jakesmith
ID: 1222320
Are Jar files usable in Netscape 3.01
0
 
LVL 1

Expert Comment

by:mann061997
ID: 1222321
No, Communicator (Navigator 4) is the first version to
support this.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:della030797
ID: 1222322
How can I obtain a certificate from a CA? And VeriSign?
Netsape Jar Packager is a plug-in I've to download or built-in?
0
 
LVL 1

Expert Comment

by:mann061997
ID: 1222323
Della - take a look at http://developer.netscape.com/software/signedobj/jarpack.html
for more information on Netscapes JAR tools. These are
a standalone executable and a Java executable - no plug-in.

The page also points you to sites of CAs offering object-
signing certificates.
0
 

Author Comment

by:della030797
ID: 1222324
Thanks for help, but I'm still in deep trouble...
After having packed my .class file into Jar (with Netscape's JAR Packager) and signed it, Netscape doesn't allow applet which now should be trusted to access system resource on local machine.
I don't know if I missed something in signing procedure or if I have to make some calls to IFC (i.e. PrivilegeManager.enablePrivilege("UniversalPropertyRead");
)
and in this case, how can I compile this Java source code since I actually have only JDK1.1.2 and Visual J++ 1.1?
0
 
LVL 1

Expert Comment

by:mann061997
ID: 1222325
You need to register the certificate in the Browser:
  Options\Security Preferences\Site Certificates


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now