Solved

Where are jcert.jar, jnet.jar and jsse.jar?

Posted on 2011-03-06
10
2,666 Views
Last Modified: 2012-06-27
Hi,

I'm trying to set jetty 7 up with ssl. I've followed the instructions here:

    http://docs.codehaus.org/display/JETTY/How+to+configure+SSL#HowtoconfigureSSL-step4

and the last part says:

    "(make sure that jcert.jar, jnet.jar and jsse.jar are on your classpath)"

I'm running max os 10.6. I don't think I have those jars. I can't find them for download on the internets (well, not from any half-way legit looking sites).

Does anyone know if those jars can be found standalone?
0
Comment
Question by:DJ_AM_Juicebox
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 3

Accepted Solution

by:
kawamuracd earned 125 total points
ID: 35053291
Those are the JSSE Jar files (jcert.jar, jsse.jar and jnet.jar). You will have to go to http://java.sun.com/products/jsse/ and download the archive. Download the latest or whichever version of JSSE you want. Then you can copy the jars into the path you need.
0
 
LVL 3

Expert Comment

by:kawamuracd
ID: 35053293
Those are the JSSE Jar files (jcert.jar, jsse.jar and jnet.jar). You will have to go to http://java.sun.com/products/jsse/ and download the archive. Download the latest JSSE then you can copy the jars into the path you need.
0
 
LVL 92

Assisted Solution

by:objects
objects earned 250 total points
ID: 35053351
you should already have those jars (they may just have different names)
0
 
LVL 92

Expert Comment

by:objects
ID: 35053389
look in /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
0
 

Author Comment

by:DJ_AM_Juicebox
ID: 35053671
Hi,
Ok in my Classes folder I have the following:

  alt-rt.java
  charsets.java
  classes.jar
  dt.jar
  jce.jar
  jconsole.jar
  management-agent.jar
  ui.jar

That documentation for jetty is old and I don't believe there's new documentation. I mailed their mailing list, waiting for a reply. I guess this is now too specific of a jetty problem. Basically jetty starts up at this point, and I can ping the ssl port (8443 in my case) ok on localhost. But navigating to it via a browser just returns a 102 error, connection refused. This is harder than I thought it'd be!

Thanks
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 92

Expert Comment

by:objects
ID: 35053724
I doubt it would start up if it was missing classes, you'd get a heap of errors in the log
afaik jsse has been included with since 1.4
0
 

Author Comment

by:DJ_AM_Juicebox
ID: 35053731
Oh agreed, I meant that since the documentation is old, perhaps all those classes are possibly included by default or something, thus it starts up ok without them. So it might be some other config error. Thanks for your help, looks like i'm just stuck in a jetty mire.
0
 
LVL 92

Assisted Solution

by:objects
objects earned 250 total points
ID: 35053746
102 is telling you that it is processing the request. very much doubt you would get that if your ssl wasn't setup right.
0
 
LVL 92

Expert Comment

by:objects
ID: 35053748
> perhaps all those classes are possibly included by default or something

afaik they are
0
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 125 total points
ID: 35054233
check with jars
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

705 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

20 Experts available now in Live!

Get 1:1 Help Now