Solved

ServerSocket Security problem on MS Java (In an signed applet)

Posted on 2003-12-09
13
280 Views
Last Modified: 2010-03-31
Hi all,

I have a problem with creating ServerSocket in MS Java.

I have a ServerSocket in an applet wich is a router for other applets that can not connect trough firewalls. In this router I implemented a http tunneling to avoid firewalls.

The problem is that on MS JVM when creating a ServerSocket I have a security exception even my applet (the router) is signed.

There is another solution for MS JVM? (I'm refering do not use ServerSocket) or how can I avoid this security exception?

Thx,
Black_NM
0
Comment
Question by:black_nm
  • 4
  • 3
  • 3
  • +1
13 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 9903853
Probably not signed correctly - do some fine inspection ;-)
0
 

Author Comment

by:black_nm
ID: 9903903
Is correctly signed.
On Java Sun it works fine.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 25 total points
ID: 9903939
You must sign it with MS for MS
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 35

Expert Comment

by:girionis
ID: 9903940
 Do you need to use MS "java"? Why not stick with the version we all use?
0
 

Author Comment

by:black_nm
ID: 9903969
Is not my choice. The client want to work in windows without any other downloads. (I'm referring to the Java plug-in download)
0
 

Author Comment

by:black_nm
ID: 9903977
I have signed the applet jar and also the cab file.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9903992
>>and also the cab file.

But obviously not adequately, or you wouldn't be getting security errors
0
 

Author Comment

by:black_nm
ID: 9904027
So you are sure that with a applet signed it have to work on MS?

I signed the code with netscape security.

How can I sign the code for MS.
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 25 total points
ID: 9904042
 Take a lookhere for signing MS java code:

http://www.securingjava.com/appdx-c/appdx-c-2.html

  and here for more signing:

http://www.michael-thomas.com/tech/java/javaadvanced/security/
0
 
LVL 35

Expert Comment

by:girionis
ID: 9904047
> So you are sure that with a applet signed it have to work on MS?

  It should yes.
0
 
LVL 92

Expert Comment

by:objects
ID: 9906805
if you remove the cert from IE, and reload the applet does it ask you to trust that cert?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
javap not working 8 58
Running JavaFX on JDeveloper 12C 1 54
eclipse console opening separately 2 29
Why doesn't this text field show up on my Applet frame? 2 19
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

856 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