Can i use JSSE in my applet.?

Hi All,
With JSSE being a standard API in jdk1.4 i was wondering whether i can use JSSE in my applet to talk SSL to a server?. Basically i want to use SSLSocket instead of using brower's HTTPS support. Will jvm's security manager(for applet) allow me to open a SSL socket??. Please give me your thoughts on this...
Thx a ton
Ram

Dear Ram
You can't use directly. You have to sign your applet to use JSSE. As it requires to excess system settings which are not fisible if the applets are not signed.
Hence to use it in applets jyust sign the applet and then you can do it.
Good luck

Similar Messages

  • Can I use JCDK to install applets?

    I want to buy a reader from Gemplus.
    Can I use JCDK from sun to install applets or do I have to use some special installation software from the company that manufactures the reader (and I don't mean drivers)?

    It is possible to install the applets on the card with the help of jcdk. But it is very very difficult. For ease installation we have to buy the installation software from the card manufacturer . It is costly.

  • How can i use this as an applet ?

    i have this applet :
    import java.applet.*;
    import java.io.*;
    public class calculator2 extends Applet {
    /*<Applet code=calculator2.class width=500 height=500></applet>*/
    /*the above comment has to be there for applet view to work. Type in at the promt "appletviewer calculator2.java"*/
    public void init() {
    int num1,num2,num3,num4,num5,num6,sum;
    num1 = num2 = num3 = num4 = num5 = num6 = sum = 0;
    /*Program statemants start here*/
    BufferedReader br = null;
    try {
    br = new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Input Rent");
    num1 = Integer.parseInt(br.readLine());
    System.out.println("Input Utility bills");
    num2 = Integer.parseInt(br.readLine());
    System.out.println("Input mobile bills");
    num3 = Integer.parseInt(br.readLine());
    System.out.println("Input food");
    num4 = Integer.parseInt(br.readLine());
    System.out.println("Input soialising");
    num5 = Integer.parseInt(br.readLine());
    System.out.println("Input savings");
    num6 = Integer.parseInt(br.readLine());
    sum=num1+num2+num3+num4+num5+num6;
    System.out.println("Enter your income: ");
    int income = Integer.parseInt(br.readLine());
    income -= sum;System.out.println(income);
    } catch (IOException ioe) {
    } catch (NumberFormatException nfe) {
    System.out.println("That wasn't a valid number!");
    System.out.println("Someone else did my homework for me! ");
    but when i run it i still need to write my answers in the comand prompt window not the applet its self,
    i know i need to do something like this but i don't know how
    add the line import java.awt; Instead of using System.out.println you can
    a)Paint the characters using paint
    public void paint(Graphics g){
    g.drawString(x, y, "" + yourVariableName); //use this for each System.out.println
    b)store the variables in a label and add
    Label yourName = newLabel("")// do this for each thing you want to print.
    yourName.setText("" + yourVariableName); //replace all sytem.out.println with this.
    anyone offer any advice ??
    thanking you in advance
    Anthony

    You seem to be asking an awful lot of questions that could be found in any basic Java textbook. Won't make you too popular on here!
    This should get you started anyway
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class calculator2 extends Applet implements ActionListener
    int total;
    Label label1, label2;
    TextField text1, text2;
    Button clicker;
    public void init()
    label1 = new Label ("Input Rent");
    label2 = new Label ("Input Bills");
    text1 = new TextField (5);
    text2 = new TextField (5);
    clicker = new Button("Calculate");
    add(label1);
    add(text1);
    add(label2);
    add(text2);
    add(clicker);
    clicker.addActionListener(this);
    } // end init
    public void paint (Graphics g)
    g.drawString ("The total is " + total, 50,100);
    } // end paint
    public void actionPerformed (ActionEvent e)
    total = Integer.parseInt(text1.getText()) +Integer.parseInt(text2.getText());
    repaint();
    } // end actionPerformed
    } // end class

  • How can I use HyperLink In Java Applet..

    I am new In Java Programming And i Want to create a Hyperlink OR URL in java Applet, How can be It possible?

    well u can use a hyperlink as a url by using url from java.net.url class
    define ur url .... u can check the API fo r that
    and by using wht u mean .. u want to browse in applet with that url or wht
    if u want to do browing in applet than u will also have to do parsing of all HTML tags
    hope it will help u

  • Can i use Web Start for applet servlet architecture

    Hello ,
    I am currently working on conversion of swings GUI to applet based so that it can be accessed any where from the network.
    Presently its a standalone application, requiring installation of the work station component on user's machine .This would access the database on other server using the JDBC ODBC drivers.The GUI would display the information from the database.
    The task is to make it accesible remotely using a webbrowser.I have thought of the following.
    1.
    Applet-->Servlet--->Database architecture
    I was wondering if i can do the same functionality with Webstart. I mean will i be able to deploy the present application and make connections to the host server.
    Please compare the options .

    No , this is not supported by Oracle.
    Regards Anders Northeved

  • Using main() function in APPLET

    Hi all,
    What will happen when main() included in APPLET?
    Can I use main() in a applet?
    Pls guide me
    Thanks in Advance,

    nothing, since applet calls the abstract methods init(), start() and stop().
    However you can call main() e.g. in start() which should work fine.
    good luck, lg Clemens

  • How can I use applet to get the desktop image of client

    hi,I have a question to ask u.
    How can I use applet to get the desktop image of client? Now I develop a web application and want user in the client to get his current image of the screen.And then save as a picture of jpeg format ,then upload it to the server?
    I have done an application to get the screen image and do upload file to server in a servlet with the http protocal.

    Since the desktop image is on the client's local hard drive, you'll need to look at trusted applets first.

  • Can you please tell me how can i change the parameter of Applet using Aspec

    Respect Members
    Can we apply Aspectwerkz on Applet? In our project we have to
    change the method parameters before its execution(Around Advice) , can we do this in applet using Aspectwerkz?
    Can you please tell me how can i change the parameter of Applet using Aspectwerkz or AspectJ ?
    I did it by for Java Application using the AspectJ And Aspectwerkz But not able to do for Applet.
    For Applet I Am setting the parameter in JAVA plug in for Aspectwerkz e.g. -Xdebug -Xrunaspectwerkz -Xbootclasspath & path for xml file in which pointcut is defined.
    If you any Friend working on it or any author who might be helpfull for me please Forward this mail to him/her
    THANKs in Advance
    [email protected]

    hello rodale, what you're seeing is probably a side effect of firefox not being able to save certain preferences into its profile folder.
    go to ''firefox > help > troubleshooting information'', click on ''profile folder/show folder'' and close all firefox windows afterwards. a windows explorer window should open up - in there delete the file named '''user.js'''.
    in case this didn't solve the issue yet please also refer to [[How to fix preferences that won't save]].

  • Popup Applet: Can we used popup applet to list records from other BC

    I have created a popup applet based on contact BC and called it from one control(ex. Add button) in my newly added applet.I am not able to see any records there in popup applet.
    Can you please suggest what is the issue or can we use popup applet to show records and select it from it.

    Hi,
    This is Siebel debugging 101.
    Have you looked at your log file to see the SQL that executed?
    Robert Ponder
    [email protected]
    770.490.2767
    www.ponderproserve.com
    Ponder Pro Serve is the recognized leader in Siebel upgrades and Siebel performance on Oracle 11g
    Edited by: Robert Ponder on Oct 21, 2010 2:01 PM

  • Can I Use Jce in applet

    Hi all,
    Thanks for everybody first if you look at my question and try to help me to find out the problem.
    I need to write a applet which can let people to use
    the jce's des function to encipher the user's password and
    id from the homepage.
    I write a applet already. It work fine as a application.
    But it doesn't work when I run it as a applet. Does the problem come from the security problem because I need
    to Load a sun_jce provider in a clien machine ?
    Can I use JCE in applet ?
    If it is ok to use jce in developing applet do I need to sign the applet before run it in web and which file I need to sign.
    Btw, I use the archive tag in html file to make user get the whole jce jar file. does it Ok.
    Followin is my source code
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    import sun.misc.*;
    import java.applet.*;
    import java.awt.*;
    public class DesApplet extends Applet{
         public static void main(String[] arg) throws Exception{
              DesApplet des = new DesApplet();
              des.CallDes();
         public void init(){
              CallDes();
         public void paint(Graphics g){
         public CallDes(){
              Cipher desCipher;
              int i;                              
              try{
                   Security.addProvider(new com.sun.crypto.provider.SunJCE());
                   KeyGenerator keygen = KeyGenerator.getInstance("DES");
                   SecretKey desKey = new SecretKeySpec("11111111".getBytes(),"DES");
                   System.out.println("Hello");
                   desCipher = Cipher.getInstance("DES/ECB/NoPadding");
                   desCipher.init(Cipher.ENCRYPT_MODE,desKey);
                   byte[] cleartext = "00000000".getBytes();
                   String value = convert_int_to_hex(cleartext,8);
                   System.out.println("cleartext is:"+value);
                   byte[] ciphertext = desCipher.doFinal(cleartext);
                   value = convert_int_to_hex(ciphertext,8);
                   System.out.println("ciphertext is:"+value);
                   desCipher.init(Cipher.DECRYPT_MODE,desKey);
                   byte[] cleartext1 = desCipher.doFinal(ciphertext);;
                   value = convert_int_to_hex(cleartext1,8);
                   System.out.println("cleartext1 is:"+value);
              }catch(Exception e){System.err.println(e);}
         public String convert_int_to_hex(byte[] value, int len) {
         int i;
         int j;
         byte tmp;
         byte[] temp = new byte[len*2];
         char[] chars = new char[len*2];
         String result = new String();
         for (i=0; i<len; i++)
         if (value[i] < 0)
         temp[i*2] = (byte)((value[i] & 0xF0) >>> 4);
         temp[i*2+1] = (byte)(value[i] & 0x0F);
         else
         temp[i*2] = (byte)(value[i] / 16);
         temp[i*2+1] = (byte)(value[i] % 16);
         for (i=0; i<len*2; i++)
         if (temp[i] > 9)
         chars[i] = (char)(temp[i] - 10 + 65);
         else
         chars[i] = (char)(temp[i] + 48);
         result = result.concat(result.valueOf(chars));
         return result;

    I have a server and a client.
    Server has jdk1.4. client is an applet. I need to encrypt the username and password that are sent from client to the server.
    I am able to encrypt and decrypt using JCE's DES on server side, since jdk1.4 has JCE provider installed by default. Since the applet may be running on any browser which may not have JCE supported. Is it possible for me to send the JCE jar file along with the applet and somehow enable the client applet to encrypt the user name and password and send to server.
    Thanks a lot,
    Gagan.

  • Can we use applets as user interfaces with sockets, RMI and J2EE

    Dear Sir or Madam,
    Since I am a TA for software architecture class, some one ask me the following question: I think the answer is "No" based on the document on http://java.sun.com/sfaq/
    How I answer the quesions? Looking forward your help!!!
    1.You may have 2 applets and 2 html files. One applet with one html file may stay at a client PC and run on this PC, and the other applet with the other html file may stay at a server PC and run on this PC. In this case, all the applets are run locally.
    2.Could applets works with sockets, RMI and J2EE?
    3.Can we use applets as user interfaces with sockets, RMI and J2EE?
    Thank you very much!
    Best regards,
    Jing

    The scenario you paint doesn't quite make sense. The "server PC" wouldn't be running an applet, normally, since applets are by definition in a web browser page, and most likely involve user interaction, and "server processes" generally are done without user interaction.
    The security rules around applets are that -- by default -- applets can connect with sockets ONLY to the server from whence the applet was loaded. RMI uses sockets (J2EE is too broad a spec) and hence RMI calls would also be limited to the server from whence the applet was loaded. Within that limitation, an applet could open all the sockets it wants, so long as they are all on the server from whence the applet was loaded.
    If you want two applets on two different systems to communicate with each other, the simplest way is to have them rendevous through a server process on the server(s) from whence each applet was loaded. Maybe it's PC-a <-> server-a <-> server-b <-> PC-b ...? Or maybe PC-a and PC-b both are talking to the same server.
    The limitation is rooted in the security subsystem. You can specify a policy file and override anything in the security subsystem. That does mean signing the applet and then cajoling the user into agreeing to grant greater levels of security than the default. In such a case you can open sockets more broadly and then PC-a could talk directly to PC-b without going through any servers.
    - David

  • Can you use a debugger on a Java applet?

    I have a java applet .jar file. I'm running it through firefox. Can I use a debugger on this? if so, how?
    thanks.

    I'm assuming from the lack of response that the answer to my question is "no"?
    I have another program (findbugs from sourceforge) that wants debugging symbols. Should I need to do anything other than click the "generate debugging symbols" check box to make it compile with -g or whatever the normal option is to leave in debugging information?

  • How can I use PreloadSWF with files built with -compiler.debug into Flash Player 11.4?

    I'm using Internet Explorer 9 on Windows 7 (x64) with a debug Flash Player (version 11.3.300.271 - I'm using the ActiveX plugin for IE). Using Flex SDK 4.5.1.21328A I compiled the ActionScript code
        package MySample {
            import flash.display.Sprite;
            public class MyHook extends Sprite {
                public function MyHook(): void {
                    super();
    Into a `.swf` file by running the command
        mxmlc.exe -compiler.source-path=. -output=MyHook.swf -tools-locale=en -headless-server=true -static-link-runtime-shared-libraries -compiler.debug -- Sample\MyHook.as
    I then preload this by creating an mm.cfg file and adding an PreloadSwf entry referencing MyHook.swf; running all this in Flash Player 11.3.300.271 works fine; I can point my IE to some web page containing flash applets and my own SWF file is preloaded just nicely.
    However, the most recent Flash Player release on Windows (11.4.402.265) breaks this. After updating the player, any flash applet triggers error message boxes from Flash player saying "Verify Error #1014: Couldn't find spark.components.Application". Clicking the error away opens the same message box, but with a few different type names.
    The workaround I found was to remove the -compiler.debug switch from the mxmlc command line; doing so make things work with Flash Player 11.4 but alas trace() doesn't work anymore.
    Does anybody know how PreloadSWF can be used to preload debug SWF files into Flash Player 11.4?

    Ah, thanks for making me aware of that forum - I didn't know about it. I now reposted the question at http://forums.adobe.com/thread/1068071 - this thread can be closed as far as I'm concerned. Should I mark your answer as being the resolution to my question or the like?

  • Untrusted server cert --- JSSE usage with applets

    Hi all,
    I am using JSSE client ( uses applets) connects to JSSE server.
    I am getting error: untrusted server cert
    I am able to connect JSSE server with the JSSE client with out applets with same self signed certificate.
    I have read some where that applets by default refer cacerts instead of jssecacerts. Thats why i have added certificate to cacerts also.
    I am sending errors (both at client and server side) and html file used for applets at client side.
    machName portno port:127.0.0.1 2002 2002
    found key for : alias
    SunX509: skip default keystore: java.security.AccessControlException: access den
    ied (java.util.PropertyPermission javax.net.ssl.trustStore read)
    trigger seeding of SecureRandom
    done seeding SecureRandom
    Machine Name is 127.0.0.1
    %% No cached client session
    *** ClientHello, v3.1
    RandomCookie: GMT: 1009970996 bytes = { 101, 168, 120, 86, 239, 175, 47, 195, 7
    4, 19, 250, 73, 236, 219, 251, 102, 102, 151, 188, 95, 121, 105, 96, 173, 182, 3
    3, 212, 30 }
    Session ID: {}
    Cipher Suites: { 0, 9 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 45
    0000: 01 00 00 29 03 01 3C 33 EF 34 65 A8 78 56 EF AF ...)..<3.4e.xV..
    0010: 2F C3 4A 13 FA 49 EC DB FB 66 66 97 BC 5F 79 69 /.J..I...ff.._yi
    0020: 60 AD B6 21 D4 1E 00 00 02 00 09 01 00 `..!.........
    AWT-EventQueue-1, WRITE: SSL v3.1 Handshake, length = 45
    [write] MD5 and SHA1 hashes: len = 47
    0000: 01 03 01 00 06 00 00 00 20 00 00 09 06 00 40 3C ........ .....@<
    0010: 33 EF 34 65 A8 78 56 EF AF 2F C3 4A 13 FA 49 EC 3.4e.xV../.J..I.
    0020: DB FB 66 66 97 BC 5F 79 69 60 AD B6 21 D4 1E ..ff.._yi`..!..
    AWT-EventQueue-1, WRITE: SSL v2, contentType = 22, translated length = 16340
    AWT-EventQueue-1, READ: SSL v3.1 Handshake, length = 670
    *** ServerHello, v3.1
    RandomCookie: GMT: 1009970996 bytes = { 225, 193, 138, 42, 75, 55, 82, 98, 128,
    65, 108, 86, 20, 94, 198, 33, 33, 115, 40, 27, 29, 0, 117, 169, 21, 60, 48, 113
    Session ID: {60, 51, 239, 52, 239, 124, 121, 133, 111, 116, 246, 8, 10, 20, 99,
    150, 141, 208, 153, 124, 223, 176, 115, 34, 158, 29, 153, 32, 194, 198, 217, 12
    6}
    Cipher Suite: { 0, 9 }
    Compression Method: 0
    %% Created: [Session-1, SSL_RSA_WITH_DES_CBC_SHA]
    ** SSL_RSA_WITH_DES_CBC_SHA
    [read] MD5 and SHA1 hashes: len = 74
    0000: 02 00 00 46 03 01 3C 33 EF 34 E1 C1 8A 2A 4B 37 ...F..<3.4...*K7
    0010: 52 62 80 41 6C 56 14 5E C6 21 21 73 28 1B 1D 00 Rb.AlV.^.!!s(...
    0020: 75 A9 15 3C 30 71 20 3C 33 EF 34 EF 7C 79 85 6F u..<0q <3.4..y.o
    0030: 74 F6 08 0A 14 63 96 8D D0 99 7C DF B0 73 22 9E t....c.......s".
    0040: 1D 99 20 C2 C6 D9 7E 00 09 00 .. .......
    *** Certificate chain
    chain [0] = [
    Version: V1
    Subject: CN=prasadv, OU=nms, O=mindtree, L=bangalore, ST=karnataka, C=IN
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@479809
    Validity: [From: Wed Jan 02 14:46:52 GMT+05:30 2002,
                   To: Thu Jan 02 14:46:52 GMT+05:30 2003]
    Issuer: CN=prasadv, OU=nms, O=mindtree, L=bangalore, ST=karnataka, C=IN
    SerialNumber: [    3c32d004 ]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 71 00 A6 5A 95 8D 02 1F FD DF 51 55 73 14 59 C2 q..Z......QUs.Y.
    0010: 51 40 D5 38 BE 0C 52 17 44 01 CC 6B 72 05 69 94 [email protected].
    0020: 9E 01 2D C5 E4 FF D9 B6 73 8F 0C 84 6F 2A 4B A4 ..-.....s...o*K.
    0030: 42 B7 EE E2 B2 32 A6 64 28 6B A2 F1 91 A8 D2 36 B....2.d(k.....6
    0040: 09 E8 50 72 1F 25 77 B5 0D 92 48 96 87 EE 76 AF ..Pr.%w...H...v.
    0050: 67 FD BF 7F 77 35 36 2F F2 2F 2D 9E 1F 2C F2 8C g...w56/./-..,..
    0060: BF B6 44 9F 49 EE E8 E3 13 ED EC 3D 17 1B EC 28 ..D.I......=...(
    0070: 6A 37 36 37 BC C3 36 3F 76 22 FF 1C 02 AB 90 0A j767..6?v"......
    AWT-EventQueue-1, SEND SSL v3.1 ALERT: fatal, description = certificate_unknown
    AWT-EventQueue-1, WRITE: SSL v3.1 Alert, length = 2
    IO exceptionuntrusted server cert chain
    Exception occurred during event dispatching:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission
    exitVM)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:
    399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkExit(SecurityManager.java:765)
    at java.lang.Runtime.exit(Runtime.java:91)
    at java.lang.System.exit(System.java:701)
    at Connection.<init>(Connection.java:94)
    at Main$2.actionPerformed(Main.java:373)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14
    50)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1504)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:378)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:216)
    at java.awt.Component.processMouseEvent(Component.java:3717)
    at java.awt.Component.processEvent(Component.java:3546)
    at java.awt.Container.processEvent(Container.java:1164)
    at java.awt.Component.dispatchEventImpl(Component.java:2595)
    at java.awt.Container.dispatchEventImpl(Container.java:1213)
    at java.awt.Component.dispatchEvent(Component.java:2499)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Window.dispatchEventImpl(Window.java:912)
    at java.awt.Component.dispatchEvent(Component.java:2499)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
    3)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.Dialog.show(Dialog.java:370)
    at Main.validate(Main.java:434)
    at Main$MenuItemListener.actionPerformed(Main.java:729)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14
    50)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1504)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:378)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
    at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
    d(BasicMenuItemUI.java:886)
    at java.awt.Component.processMouseEvent(Component.java:3717)
    at java.awt.Component.processEvent(Component.java:3546)
    at java.awt.Container.processEvent(Container.java:1164)
    at java.awt.Component.dispatchEventImpl(Component.java:2595)
    at java.awt.Container.dispatchEventImpl(Container.java:1213)
    at java.awt.Component.dispatchEvent(Component.java:2499)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Component.dispatchEvent(Component.java:2499)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
    3)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
    errors at server side :
    trustStore type is : jks
    init truststore
    adding private entry as trusted cert: [
    Version: V1
    Subject: CN=prasadv, OU=nms, O=mindtree, L=bangalore, ST=karnataka, C=IN
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@291aff
    Validity: [From: Wed Jan 02 14:46:52 GMT+05:30 2002,
                   To: Thu Jan 02 14:46:52 GMT+05:30 2003]
    Issuer: CN=prasadv, OU=nms, O=mindtree, L=bangalore, ST=karnataka, C=IN
    SerialNumber: [    3c32d004 ]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 71 00 A6 5A 95 8D 02 1F FD DF 51 55 73 14 59 C2 q..Z......QUs.Y.
    0010: 51 40 D5 38 BE 0C 52 17 44 01 CC 6B 72 05 69 94 [email protected].
    0020: 9E 01 2D C5 E4 FF D9 B6 73 8F 0C 84 6F 2A 4B A4 ..-.....s...o*K.
    0030: 42 B7 EE E2 B2 32 A6 64 28 6B A2 F1 91 A8 D2 36 B....2.d(k.....6
    0040: 09 E8 50 72 1F 25 77 B5 0D 92 48 96 87 EE 76 AF ..Pr.%w...H...v.
    0050: 67 FD BF 7F 77 35 36 2F F2 2F 2D 9E 1F 2C F2 8C g...w56/./-..,..
    0060: BF B6 44 9F 49 EE E8 E3 13 ED EC 3D 17 1B EC 28 ..D.I......=...(
    0070: 6A 37 36 37 BC C3 36 3F 76 22 FF 1C 02 AB 90 0A j767..6?v"......
    trigger seeding of SecureRandom
    done seeding SecureRandom
    Befotre main step
    Waiting for request under port
    matching server alias : alias
    Finalizer, SEND SSL v3.1 ALERT: warning, description = close_notify
    Finalizer, WRITE: SSL v3.1 Alert, length = 2
    Waiting for request under port
    [read] MD5 and SHA1 hashes: len = 3
    0000: 01 03 01 ...
    [read] MD5 and SHA1 hashes: len = 44
    0000: 00 06 00 00 00 20 00 00 09 06 00 40 3C 33 EF 34 ..... .....@<3.4
    0010: 65 A8 78 56 EF AF 2F C3 4A 13 FA 49 EC DB FB 66 e.xV../.J..I...f
    0020: 66 97 BC 5F 79 69 60 AD B6 21 D4 1E f.._yi`..!..
    Thread-0, READ: SSL v2, contentType = 22, translated length = 45
    *** ClientHello, v3.1
    RandomCookie: GMT: 1009970996 bytes = { 101, 168, 120, 86, 239, 175, 47, 195, 7
    4, 19, 250, 73, 236, 219, 251, 102, 102, 151, 188, 95, 121, 105, 96, 173, 182, 3
    3, 212, 30 }
    Session ID: {}
    Cipher Suites: { 0, 9 }
    Compression Methods: { 0 }
    %% Created: [Session-1, SSL_NULL_WITH_NULL_NULL]
    *** ServerHello, v3.1
    RandomCookie: GMT: 1009970996 bytes = { 225, 193, 138, 42, 75, 55, 82, 98, 128,
    65, 108, 86, 20, 94, 198, 33, 33, 115, 40, 27, 29, 0, 117, 169, 21, 60, 48, 113
    Session ID: {60, 51, 239, 52, 239, 124, 121, 133, 111, 116, 246, 8, 10, 20, 99,
    150, 141, 208, 153, 124, 223, 176, 115, 34, 158, 29, 153, 32, 194, 198, 217, 12
    6}
    Cipher Suite: { 0, 9 }
    Compression Method: 0
    Cipher suite: SSL_RSA_WITH_DES_CBC_SHA
    *** Certificate chain
    chain [0] = [
    Version: V1
    Subject: CN=prasadv, OU=nms, O=mindtree, L=bangalore, ST=karnataka, C=IN
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@47c5fc
    Validity: [From: Wed Jan 02 14:46:52 GMT+05:30 2002,
                   To: Thu Jan 02 14:46:52 GMT+05:30 2003]
    Issuer: CN=prasadv, OU=nms, O=mindtree, L=bangalore, ST=karnataka, C=IN
    SerialNumber: [    3c32d004 ]
    Algorithm: [MD5withRSA]
    Signature:
    0000: 71 00 A6 5A 95 8D 02 1F FD DF 51 55 73 14 59 C2 q..Z......QUs.Y.
    0010: 51 40 D5 38 BE 0C 52 17 44 01 CC 6B 72 05 69 94 [email protected].
    0020: 9E 01 2D C5 E4 FF D9 B6 73 8F 0C 84 6F 2A 4B A4 ..-.....s...o*K.
    0030: 42 B7 EE E2 B2 32 A6 64 28 6B A2 F1 91 A8 D2 36 B....2.d(k.....6
    0040: 09 E8 50 72 1F 25 77 B5 0D 92 48 96 87 EE 76 AF ..Pr.%w...H...v.
    0050: 67 FD BF 7F 77 35 36 2F F2 2F 2D 9E 1F 2C F2 8C g...w56/./-..,..
    0060: BF B6 44 9F 49 EE E8 E3 13 ED EC 3D 17 1B EC 28 ..D.I......=...(
    0070: 6A 37 36 37 BC C3 36 3F 76 22 FF 1C 02 AB 90 0A j767..6?v"......
    *** ServerHelloDone
    [write] MD5 and SHA1 hashes: len = 670
    0000: 02 00 00 46 03 01 3C 33 EF 34 E1 C1 8A 2A 4B 37 ...F..<3.4...*K7
    0010: 52 62 80 41 6C 56 14 5E C6 21 21 73 28 1B 1D 00 Rb.AlV.^.!!s(...
    0020: 75 A9 15 3C 30 71 20 3C 33 EF 34 EF 7C 79 85 6F u..<0q <3.4..y.o
    0030: 74 F6 08 0A 14 63 96 8D D0 99 7C DF B0 73 22 9E t....c.......s".
    0040: 1D 99 20 C2 C6 D9 7E 00 09 00 0B 00 02 4C 00 02 .. ..........L..
    0050: 49 00 02 46 30 82 02 42 30 82 01 AB 02 04 3C 32 I..F0..B0.....<2
    0060: D0 04 30 0D 06 09 2A 86 48 86 F7 0D 01 01 04 05 ..0...*.H.......
    0070: 00 30 68 31 0B 30 09 06 03 55 04 06 13 02 49 4E .0h1.0...U....IN
    0080: 31 12 30 10 06 03 55 04 08 13 09 6B 61 72 6E 61 1.0...U....karna
    0090: 74 61 6B 61 31 12 30 10 06 03 55 04 07 13 09 62 taka1.0...U....b
    00A0: 61 6E 67 61 6C 6F 72 65 31 11 30 0F 06 03 55 04 angalore1.0...U.
    00B0: 0A 13 08 6D 69 6E 64 74 72 65 65 31 0C 30 0A 06 ...mindtree1.0..
    00C0: 03 55 04 0B 13 03 6E 6D 73 31 10 30 0E 06 03 55 .U....nms1.0...U
    00D0: 04 03 13 07 70 72 61 73 61 64 76 30 1E 17 0D 30 ....prasadv0...0
    00E0: 32 30 31 30 32 30 39 31 36 35 32 5A 17 0D 30 33 20102091652Z..03
    00F0: 30 31 30 32 30 39 31 36 35 32 5A 30 68 31 0B 30 0102091652Z0h1.0
    0100: 09 06 03 55 04 06 13 02 49 4E 31 12 30 10 06 03 ...U....IN1.0...
    0110: 55 04 08 13 09 6B 61 72 6E 61 74 61 6B 61 31 12 U....karnataka1.
    0120: 30 10 06 03 55 04 07 13 09 62 61 6E 67 61 6C 6F 0...U....bangalo
    0130: 72 65 31 11 30 0F 06 03 55 04 0A 13 08 6D 69 6E re1.0...U....min
    0140: 64 74 72 65 65 31 0C 30 0A 06 03 55 04 0B 13 03 dtree1.0...U....
    0150: 6E 6D 73 31 10 30 0E 06 03 55 04 03 13 07 70 72 nms1.0...U....pr
    0160: 61 73 61 64 76 30 81 9F 30 0D 06 09 2A 86 48 86 asadv0..0...*.H.
    0170: F7 0D 01 01 01 05 00 03 81 8D 00 30 81 89 02 81 ...........0....
    0180: 81 00 D2 18 99 9D 29 35 BC 5F AB 80 0C 14 F2 19 ......)5._......
    0190: 13 B4 27 28 B1 37 AC 8F 33 CE 2F 08 BF F0 8E 88 ..'(.7..3./.....
    01A0: DA BA 40 4B 94 F6 CE CB F3 C9 79 1F 80 CD BA D9 [email protected].....
    01B0: 3B 19 8C 70 37 CE E4 DD 49 C7 EF AA FC 30 87 78 ;..p7...I....0.x
    01C0: BF D7 8A 68 CE 13 F2 56 8C 08 51 CB AE 17 B1 DC ...h...V..Q.....
    01D0: 0B 40 E7 35 AC F6 57 16 A5 B1 AA DB 88 26 2E 6A [email protected]......&.j
    01E0: 4A C7 83 45 7F 79 D2 9F 28 ED 54 28 B8 56 48 A1 J..E.y..(.T(.VH.
    01F0: 0D 95 47 E0 1F DB 70 0B 38 CA E5 B7 A0 DC 3C 87 ..G...p.8.....<.
    0200: BC 07 02 03 01 00 01 30 0D 06 09 2A 86 48 86 F7 .......0...*.H..
    0210: 0D 01 01 04 05 00 03 81 81 00 71 00 A6 5A 95 8D ..........q..Z..
    0220: 02 1F FD DF 51 55 73 14 59 C2 51 40 D5 38 BE 0C [email protected]..
    0230: 52 17 44 01 CC 6B 72 05 69 94 9E 01 2D C5 E4 FF R.D..kr.i...-...
    0240: D9 B6 73 8F 0C 84 6F 2A 4B A4 42 B7 EE E2 B2 32 ..s...o*K.B....2
    0250: A6 64 28 6B A2 F1 91 A8 D2 36 09 E8 50 72 1F 25 .d(k.....6..Pr.%
    0260: 77 B5 0D 92 48 96 87 EE 76 AF 67 FD BF 7F 77 35 w...H...v.g...w5
    0270: 36 2F F2 2F 2D 9E 1F 2C F2 8C BF B6 44 9F 49 EE 6/./-..,....D.I.
    0280: E8 E3 13 ED EC 3D 17 1B EC 28 6A 37 36 37 BC C3 .....=...(j767..
    0290: 36 3F 76 22 FF 1C 02 AB 90 0A 0E 00 00 00 6?v"..........
    Thread-0, WRITE: SSL v3.1 Handshake, length = 670
    Thread-0, READ: SSL v3.1 Alert, length = 2
    Thread-0, RECV SSLv3 ALERT: fatal, certificate_unknown
    html file used at client side
    <HTML>
    <!--"CONVERTED_APPLET"-->
    <!-- CONVERTER VERSION 1.3 -->
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = 600 HEIGHT = 200 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <PARAM NAME = CODE VALUE = Main>
    <PARAM NAME = CODEBASE VALUE = . >
    <PARAM NAME = machinename VALUE = "127.0.0.1" >
    <PARAM NAME = port VALUE = "2002" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="scriptable" VALUE="false">
    </OBJECT>
    </HTML>
    Please help me to solve out this problem.
    Thanks,
    prasad.

    Are u using MS JVM i.e default IE browser or you have installed the plug in?

  • Installing (using) JSSE to Visual Age

    Hi all,
    I have installed JSSE 1.0.2 in JDK 1.3.1 successfully.. Everything is working fine. However what I need to do is use JSSE under Visual Age 3.5... (my VA is iv3-4 jdk 1.2.2 (patched.))
    I am importing three jar files which comes with JSSE but same test programs which works fine with JDK is not working under VA... Can anyone help about installation process of JSSE to VA?
    Ex: Program below works fine with JDK1.3.1 but not under VA...
    import java.net.*;
    import javax.net.ssl.*;
    public class JSSE_install_check {
    public static void main(String[] args) throws Exception {
         SSLServerSocketFactory factory =
         (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
         SSLServerSocket sslSocket =
         (SSLServerSocket)factory.createServerSocket(5757);
         String [] cipherSuites = sslSocket.getEnabledCipherSuites();
         for (int i = 0; i < cipherSuites.length; i++) {
         System.out.println("Cipher Suite " + i +
              " = " + cipherSuites);
    Thanks a lot.
    Emre

    Do you get an error message ?
    I have installed the same extension package to my VA 3.5 and worked fine
    Doruk Uslu
    Consultant
    Deloitte&Touche , CH

Maybe you are looking for