SSL reading problem in server-side

Hi guys,
I have a problem in my server implemetation with SSL Server Socket. I have created a server socket with a specfic port and bind address. Whenever a client connecfed, i grap its inputstream and starts to read as bytes. There is no problem to open server socket and certifacate authorization, and also a client successfully connects to server. But when client writes some data to its connected socket, server cannot read anything. Server throws no exception and there is no problem in writing. But the available bytes in inputstream is always 0. When i replace SSL socket with normal socket, everything is ok, server can read everything. I confused very much. since i have no concrete exception and stack trace, I know it is hard to explain and get help about my problem. I have added some parts from my code.
Could you make any suggestions?
Listening and connection part
ServerSocketFactory socketFactory = SSLServerSocketFactory.getDefault();
socket = socketFactory.createServerSocket(port,backLog,bindAddress);
Socket clientSocket = socket.accept();
in = new BufferedInputStream(clientSocket .getInputStream());Reading part
          while (continueRunning){
               try {
                    Thread.sleep(1);
                    if(in.available()<1){
                         System.err.println(in.available());
                         continue;
                    MessageDecoder decoder= new MessageDecoder();
                    Message msg = decoder.decode(in);
                    if(msg == null){
                                       System.out.println("Decoded message is null");
                         continue;
                    handler.messageReceived(msg);
               } catch (IOException e) {
                                e.printStackTrace();
                    continueRunning=false;
                    try {
                         clientSocket.close();
                    } catch (IOException e1) {
                         e1.printStackTrace();
               } catch (InterruptedException e) {
                    continueRunning=false;
                    e.printStackTrace();          
                    try {
                         clientSocket.close();
                    } catch (IOException e1) {
                         // TODO Auto-generated catch block
                         e1.printStackTrace();
          }

I process bytes whenever they are available in the
stream, thus i use available() for checking wheter
there is any bytes to decode.You are looping and sleeping and calling available(). What's the point? As you have nothing else to do in the loop except sleep according to the above code, the whole sleep/available business is still a waste of time. Why not just read()? You are also burning a lot of CPU cycles for nothing.
The problem is there is no data in the stream althogh client seems write some data. The problem is that regardless of whether there is data in the stream or not, SSLSocket.getInputStream().available() always returns zero. It always does this, and so you cannot use it for the purpose you intend.
This is no loss, as the purpose you intend adds no value to just doing a read(). Try it and see.
I discover the debugging utilities of JSSE and make
some debugs. I find that client is blocked on its
socket when it tries to write stream. I am not using
nio, so my sockets are blocking but i cannot find any
reasonable explanation for this SSL write blocking on
socket.The 'reasonable explanation' is that the peer is never reading, so its socket receive buffer is full, so the writer's send buffer eventually fills too, at which point the writer is blocked.
When i change my implementation and used
non-SSL socket, everything is ok and there is no
blocking.That's because Socket.getInputStream().available() returns positive numbers whereas SSLSocket.getInputStream.available() always returns zero.
Is there anyone who knows something about some kind
of SSL blocking?There is.

Similar Messages

  • Problem in Server side includes using Tomcat

    Problem in Server side includes using Tomcat:
    I am trying out small programs in servlet.
    I get one example program for server side includes from net.
    The code is:
    <HTML>
    <HEAD><TITLE>Times!</TITLE></HEAD>
    <BODY>
    <P>
    The current time in London is!!! :
    <SERVLET CODE="CurrentTime" codebase="../servlet">
    <PARAM NAME="zone" VALUE="GMT">
    </SERVLET>
    </P>
    </BODY>
    </HTML>
    I placed this test.shtml file in tomcat-home/webapps/ROOT folder and i kept the servlet in WEB-INF/classes folder.
    I renamed the servlets-ssi.jar and i removed the comments for SSI in web.xml file.
    When i run the servlet separately, i am getting the correct result. But if i run shtml file with the URL : http://localhost:8080/Test.shtml,
    i am getting the result as:
    The current time in London is!!! :
    It is not invoking servlet program.
    CAN ANYONE HELP ON THIS!
    Thanks.

    Thanks...as u said I tried putting dir & found that
    my file was saved as Ch1Servlet.java.txt instead for
    Ch1Servlet.java......So that was a problem.Now I'm
    able to compile.Oh, yeah. Notepad will do that to you. I think when you save in Notepad if you put quotes around the name "Whatever.java" then it won't add the .txt.
    But on compiling I'm getting the following error
    package java.servlet.* does not exist
    package java.servlet.http.* does not exist
    package java.io.* does not exist
    Do u the reason for this??? The servlet stuff is java[b]x.servlet. For the io stuff, I don't know, I'd have to see your code. Either you have a typo or a corrupt installation.

  • How to handle Back button, Browser Refresh problem at server side.

    Hi Friends,
    How to handle Back button, Browser Refresh problem at server side in java?.
    I am able to trace that,
    request.getHeader("ACCEPT") is returning value- */*
    when the browser was refreshed and returning different MIME types
    for all other actions from browser.
    I have doubt, will the above solution works always for all servers,browsers?.
    Please also specify any solution to handle back button at server side?.
    Thanks in Advance.
    Venkat..

    I'm sorry I don't think tht's the right solution for
    the above question....
    We must be aware that whatever scripting methdologies
    we either javascript/vbscript would executed @
    client(browser) side not @ server side....
    Dud If U get a good solution keep me updated.....
    THANKS & REGARDS,
    RAHULMy dear friend ...
    the bad news is that u simply cant disable or add any listener to the back button of the browser.
    When u hit the back button of ur browser the URL gets re-executed. So in case u have a JSP then the history.forward() is the best solution. [only if the page doesnt get expired similar to secure https sites]
    Now dont say that user can have javascript disabled ...those users will have a pretty touch time browsing websites since javascripts r used extensively by almost all websites.
    But in case u have an action.do or servlet call then u need to manage it using a session variable since the request will be sent to the server rather than client.
    For multiple form submittion issues read the following article in javaworld...
    Client vs. server solutions
    Different solutions can solve this multiple form submission situation. Some transactional sites simply warn the user to wait for a response after submitting and not to submit twice. More sophisticated solutions involve either client scripting or server programming.
    In the client-only strategy, a flag is set on the first submission, and, from then on, the submit button is disabled based on this flag. While appropriate in some situations, this strategy is more or less browser dependent and not as dependable as server solutions.
    For a server-based solution, the Synchronizer Token pattern (from Core J2EE Patterns) can be applied, which requires minimal contribution from the client side. The basic idea is to set a token in a session variable before returning a transactional page to the client. This page carries the token inside a hidden field. Upon submission, request processing first tests for the presence of a valid token in the request parameter by comparing it with the one registered in the session. If the token is valid, processing can continue normally, otherwise an alternate course of action is taken. After testing, the token resets to null to prevent subsequent submissions until a new token is saved in the session, which must be done at the appropriate time based on the desired application flow of control.
    for more details refer :
    http://www.javaworld.com/javaworld/javatips/jw-javatip136.html
    Hope u got the idea.
    FYI I have been using both these ideas in my credit card payment gateway project. This concept has worked really well.

  • Reading .txt file Server side

    How do you read a file server side and send it to the client. I am getting confused with FileReader and the fact that you have to wrap a socket with PrintWriter, BufferedWriter and OutputStreamWriter i.e.
    BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    Any ideas

    Assuming you want to read from a file on the server and write to a client socket:
    FileReader fi= new FileReader("reading.txt");
    BufferedReader br= new BufferedReader(fi);
    String il=br.readLine();
    ServerSocket sock= new ServerSocket(port,mcons);
    PrintStream dout=
    new PrintStream (sock.getOutputStream());
    dout.println(il);
    dout.flush();...
    Hope this helps.

  • Problem with server side cookie

    Hi, I have a problem with a server side cookie. I'm trying to store a cookie trough the  cl_bsp_server_side_cookie=>set_server_cookie method in the OnInitialitation event handler of a bsp (my bsp application is non mvc) and then to retrieve this cookie trough the  cl_bsp_server_side_cookie=>get_server_cookie method in the OnInputProcessing event handler of the same bsp. In this cookie i'm storing a internal table but i'm not getting it when i invoke the get_server_cookie method.
    This is the source code that i'm implementing:
    OnInitialitation:
    wa_comunnication_data-mobile = wa-mobile.
              wa_comunnication_data-telefono = wa-tel_number.
              wa_comunnication_data-email = wa-email.
              APPEND wa_comunnication_data to comunnication_data.
               cl_bsp_server_side_cookie=>set_server_cookie(
                  EXPORTING
                   name = 'cook_comunnication_data'
                   application_namespace = 'NONE'
                   application_name = 'NONE'
                   username = 'NONE'
                   session_id = runtime->session_id
                   data_value = comunnication_data
                   data_name = 'comunnication_data'
                   expiry_time_rel = 720 ).
    OnInputProcessing:
    cl_bsp_server_side_cookie=>get_server_cookie(
          EXPORTING
           name = 'cook_comunnication_data'
           application_namespace = 'NONE'
           application_name = 'NONE'
           username = 'NONE'
           session_id = runtime->session_id
           data_name = 'comunnication_data'
          CHANGING
           data_value = comunnication_data ).
         READ TABLE comunnication_data INDEX 1 INTO wa_comunnication_data.
    regards, marcel.

    Why do you need to use cookies in the same BSP Application?
    Try to use below:
        username              = sy-uname
        application_name      = runtime->application_name
        application_namespace = runtime->application_namespace
    <i>*reward each useful answer</i>
    Raja T
    Message was edited by:
            Raja Thangamani

  • SSL Certificates (p12) and server side authorization

    Hello dear ALL!
    Can u tell me how to store multiple certs in AIR app if it's possible?
    I have an server side SSL authorization. But I can't sign AIR app with client p12 certificate =(
    Is there another way to use my client certificate?
    Sorry for my english =)

    Anyone?
    Client can have several certificates (logins).
    Where in the system or in AIR app its stores?

  • Problem with server side state saving ,JSF 1.1.1

    Hello,
    In my web.xml  the.STATE_SAVING_METHOD setting is s server
    <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>server</param-value>
        </context-param>
    for measurement of application security isn't not allow to change this parameter to client , so the problem  when i access for application and i open a new page via linker for print for example and i would access for my initial page to make change or modify my initial page it s no possible to make any modification because i have a empty bean , but if the state saving is a client i haven't a problem because a tree map is stored in client browser, so my version of JSF is 1.1.1 ,
    So can you explain the cause for his problem
    and what's the solution for my problem ?
    NB:i can't change the parameter for STATE_SAVING_METHOD for a client
    Thank you

    did you search this form, there were lot of discussions in the past about server side cookies, you may find an answer to your problem.
    alternate approache for sending a value from parent page to the pop up window.
    1. when opening the pop up pass the values along with the url (if the size of variable is small)
    alternatively you can store the value in a hidden form field in parent window and access the same from poup window using
    you can simple access the page one form field value in page 2 (pop up) by using the following code.
    window.opener.document.getElementById('hiddenformfieldid').value

  • Problem with Server-Side InitialContext

    The Weblogic 5.1 documentation states that to create a context from within a
    server-side object, all you need to do is issue the following statement:
    Context ctx = new InitialContext();
    That you do not need to specify a factory, or a provider URL; by default,
    the context will be created as a WebLogic context and will connect to the
    local naming service.
    I only get this to work when I am running from within an EJB. When I try
    this from a servlet, it doesn't work.
    I am running Weblogic 5.1 SP9 with JDK 1.3.1_02. Any ideas about what I may
    be doing wrong???

    Hi,
    runtime->session_id indicates the browser session not a windows session so as such there is nothing to prevent that except from preventing to open the app in the same browser again by eg testing on the session id
    Eddy

  • Problem with server side includes

    Hi - I have a page with two php includes which no longer display properly. They were fine when I set them up, and I haven't changed anything.  They don't display online - and also don't display on my local server (Apache).  I have identical code on other sites which does display properly, both on my server and online.  There's nothing wrong with the file paths as they display correctly on the DW display screen, and also on live display, so I'm completely baffled.
    Can anyone shed any light?
    Here's a sample page - http://www.lucidinsight.com/travelprev.shtml
    The includes should both be displaying on the right side of the page (hence the two error messages)
    Thanks!

    Hi...contrary to all logic and expectations, shtml pages DO process php includes.  I appreciate that this seems very strange but I have several examples on my sites, with identical code to that already posted, and they work.  I have to use a .php file extension rather than .asp as this is required for the file to be read by an online CMS site - rather than change the page to a php file and have to amend the site navigation, I have gone with just changing the file extension.  This works for every single one of my sites except this one, and I can't see why, hence this question...
    SW

  • Launch Listener Problems in Server Side Backing Bean Code.

    Hi All,
    I am construcing an Table of Rich Command Links in the backing bean.
    For each command Link i launch a dialog through the backing bean.
    I have added a Launch Listener for each Command Link.However i see that although the dialog gets launched the launch Listener doesnt get invoked . The invocation of the launch listener is critical for me to pass information to the child dialog.
    Here's the pseudo Code
    tableConstructor ()
    CommandLink.addActionListner (mylistener);
    CommandLink.addLaunchListener (mylaunch);
    CommandLink.setPartialSubmit (true);
    CommandLink.setUseWindow (true);
    richColumn.add (CommandLink)
    // Actual Code of listener
    mylistener (actionEvent) {
    // Set the properties for the window to be launched.
    Map winProps = new HashMap();
    winProps.put ("height" , "1000");
    winProps.put ("width" , "1000");
    // End of setting properties for the window to be launched
    FacesContext ctx = FacesContext.getCurrentInstance();
    ViewHandler viewHandler = ctx.getApplication().getViewHandler();
    UIViewRoot dialog = viewHandler.createView(ctx,
    "/A.jspx");
    Application app = ctx.getApplication();
    AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.launchDialog(dialog, null,
    actionEvent.getComponent(), true, winProps);
    myLaunch () {
    System.out.println ("I Am here);
    I am here is not getting printed.. Any idea how to make the launchListener work in this scenario...
    Any help will be great.
    Thanks
    Karthik

    Hi,
    I can reproduce this. I am still not sure if this is supposed to work this way. However, since I don't know better, I filed a bug.
    Frank

  • Server-side includes in cs5

    have used all previous versions of dw. no prior problem with server-side includes. now, they are not showing up in design view. Yes, I have marked preferences to include hidden items/server side includes. any thoughts anyone?

    I set up a static test site.  It has no testing server defined - just a local site.  In that site I have two files -
    1.  include-test.html
    2.  /_inc/test.html
    Their contents are -
    INCLUDE-TEST.SHTML
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
    <body>
    <p>This is a test of SSI.  The following paragraph is an HTML include -</p>
    <!--#include file="_inc/test.html" -->
    </body>
    </html>
    TEST.HTML
    <p>Ut aliquip ex ea commodo consequat. Duis aute irure dolor eu fugiat nulla pariatur. Sunt in culpa ullamco laboris nisi quis nostrud exercitation.</p>
    When I look at Design view for include-test.html, I can see the contents of the include file, and I can see it listed as a related file below the filename tabs:
    So, I'm at a loss....

  • Tabbed with Server Side Include

    Has anyone had any problems adding Server Side Include to the Spry Tabbed Pannels, everytime the I add a SSI to the tabbed content is locks up the tabs.
    Where the hell are to get support is this an interAKT, ADOBE or your on your own.

    Hello,
    I don't have an answer to your problem, because I've never tried this approach.
    However, I can tell you that this is an USER-TO-USER forum. If you need to request technical support from Adobe, you need to go here:
    http://www.adobe.com/go/support/
    regards,
    Ionut

  • Getting following exception on TCP ssl at server side

    Hi,
    I am trying to setup an ssl client and ssl server.
    But on ssl client side, My need_wrap going into loop(Buffer overflow)
    On my server side, i am getting following error.
    Please help me...I am not getting much discussion/articles to solve this problem.
    javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
    javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
      at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1371)
      at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:513)
      at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:790)
      at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:758)
      at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
      at com.ipay.ssl.SSLServerNio.doHandshake(SSLServerNio.java:55)
      at com.ipay.ssl.SSLServerNio.main(SSLServerNio.java:215)
    Caused by: javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
      at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:156)
      at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
      at sun.security.ssl.Handshaker$1.run(Handshaker.java:808)
      at sun.security.ssl.Handshaker$1.run(Handshaker.java:806)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1299)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
    My server handshake code look like this.
    void doHandshake(SocketChannel socketChannel, SSLEngine engine,
             ByteBuffer myNetSendData, ByteBuffer myNetRecieveData) throws Exception {
         // Create byte buffers to use for holding application data
      ByteBuffer myAppDataSend = ByteBuffer.allocate(engine.getSession().getApplicationBufferSize());
      ByteBuffer myAppDataRecieve = ByteBuffer.allocate(engine.getSession().getApplicationBufferSize());
      System.out.println(engine.getPeerPort());
         // Begin handshake
         engine.beginHandshake();
         SSLEngineResult.HandshakeStatus hs = engine.getHandshakeStatus();
         // Process handshaking message
         while (hs != SSLEngineResult.HandshakeStatus.FINISHED &&
             hs != SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING) {
          switch (hs) {
             case NEED_UNWRAP:
              System.out.println("Reached NEED UNWRAP");
                 // Receive handshaking data from peer
                 if (socketChannel.read(myNetRecieveData) < 0) {
                     // Handle closed channel
                  System.out.println("not able toRead data from channel to buffer at client");
                 myNetRecieveData.flip();
                 // Process incoming handshaking data
                 SSLEngineResult res = engine.unwrap(myNetRecieveData, myAppDataRecieve);
               //  myNetRecieveData.compact();
                 // Getting handshake status
                 hs = res.getHandshakeStatus();
                 System.out.println("Debugging in NEED_UNWRAP-->"+hs);
                 // Check status
                 switch (res.getStatus()) {
                 case OK :
                     // Handle OK status
                  System.out.println("OK");
                     break;
                 case BUFFER_OVERFLOW:
                  System.out.println("BUFFER OVERFLOW");
                  break;
                 case BUFFER_UNDERFLOW:
                  System.out.println("BUFFER UNDERFLOW");
                  /* if (socketChannel.read(myNetRecieveData) < 0) {
                     // Handle closed channel
                  System.out.println("not able toRead data from channel to buffer at client");
                  hs=HandshakeStatus.NEED_UNWRAP;
                  System.out.println("Read data on underflow condition");
                  break;
                 case CLOSED:
                  System.out.println("CLOSED");
                  break;
                 // Handle other status: BUFFER_UNDERFLOW, BUFFER_OVERFLOW, CLOSED
                 break;
             case NEED_WRAP :
              System.out.println("Reached NEED WRAP");
                 // Empty the local network packet buffer.
                 // Generate handshaking data
              //myAppDataSend.flip();
                 res = engine.wrap(myAppDataSend, myNetSendData);
                 // Getting handshake status
                 hs = res.getHandshakeStatus();
                 System.out.println("Debugging in NEED_WRAP-->"+hs);
                 // Check status
                 switch (res.getStatus()) {
                 case OK :
                  System.out.println("OK");
                     myNetSendData.flip();
                     // Send the handshaking data to peer
                     while (myNetSendData.hasRemaining()) {
                         if (socketChannel.write(myNetSendData) < 0) {
                             // closing socket channel
                     break;
                 case BUFFER_OVERFLOW:
                  System.out.println("BUFFER OVERFLOW");
                  //Writing network send buffer
                  myNetSendData.flip();
                     while (myNetSendData.hasRemaining()) {
                  if(socketChannel.write(myNetSendData) < 0)
                  System.out.println("Some thing wrong happened");
                  System.out.println("written data");
                  hs=HandshakeStatus.NEED_WRAP;
                  break;
                 case BUFFER_UNDERFLOW:
                  System.out.println("BUFFER UNDERFLOW");
                  break;
                 case CLOSED:
                  System.out.println("CLOSED");
                  break;
                 // Handle other status:  BUFFER_OVERFLOW, BUFFER_UNDERFLOW, CLOSED
                  break;
             case NEED_TASK :
              System.out.println("NEED TASK");
              System.out.println("Debugging in NEED_TASK-->"+hs);
              Runnable task;
              while((task=engine.getDelegatedTask()) != null)
              System.out.println("Inside while loop");
              ExecutorService executorService = Executors.newFixedThreadPool(1);
              executorService.execute(task);
                 // Handle blocking tasks
              hs=engine.getHandshakeStatus();
              System.out.println("Printing"+engine.getHandshakeStatus());
              break;
             case FINISHED:
              System.out.println("Debugging in FINISHED-->"+hs);
              System.out.println("handshake done");
              hs=HandshakeStatus.FINISHED;
                    break;
             // Handle other status:  // FINISHED or NOT_HANDSHAKING
         // Processes after handshaking
    brs,
    varghese

    Hi Zia,
    The error is...
    Caused by: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
    ...which means you have two different versions of org.eclipse.persistence.indirection.IndirectList, one on the server and one in the client (JDeveloper). As these classes have different serialVersionUID values then Java throws an exception when deserializing as they are probably not compatible.
    I don't know much about the Eclipse stuff but from looking at your post I can only assume one version of the class is in D:\Coherence\toplink\jlib\eclipselink.jar on the Coherence server side and the other is in JDevloper in D:\OracleSOA\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar as these are the only jar file containing "eclipse" that I can see on the classpaths.
    JK

  • HOWTO: Setting up Server-Side Authentication with SSL

    This howto covers the configuration of server-side SSL authentication for both Net8 and IIOP (JServer) connections. It documents the steps required to set up an SSL encrypted connection; it does not cover certificate authentication.
    It is worthwhile noting that although the setup of SSL requires the installation of certificates, these certificates do not have to be current, only valid. For some reason, in order to enable SSL connections, it is necessary to set up valid certificate file on the server whether you intend to use certificate authentication or not.
    NOTE: I have been unable to determine whether or not the above statement is entirely correct. If anyone can confirm or disprove it, please let me know.
    The steps described below must all be carried out from the same logon account. They have been tested on both 816 and 817 databases, but will probably work for all versions, including 9i (unless there have been some drastic changes in 9i that I'm not aware of).
    1. Log on to the database server with an administrative login.
    Configure the database and listener to run under the current login account (Control Panel -> Services). It is not necessary to restart these services at this time.
    2. Create an Oracle wallet and set up the required certificates
    (i) Open the Oracle Wallet Manager:
    Start -> Programs -> [Oracle Home] -> Network Administration -> Wallet Manager
    (ii) Create a new wallet (Wallet -> New).
    (iii) When prompted, elect to generate a certificate request.
    (iv) On the request form, the only field that matters is the Common Name. Enter the fully qualified domain name (FQDN) of the database server (i.e. the name with which the database server will be referenced by clients).
    (v) Export the certificate request to file (Operations -> Export Certificate Request).
    (vi) Obtain a valid server certificate from an authorised signing authority. It will also be necessary to download the signing authoritys publicly available trusted root certificate. Certificates can be obtained from Verisign (http://www.verisign.com/)
    (vii) Install the trusted root certificate obtained in (vi) into the wallet (Operations -> Import Trusted Certificate). Either paste the contents of the certificate file, or browse to the file on the file system.
    (viii) Install the server certificate obtained in (vi) into the wallet (Operations -> Import User Certificate). Either paste the contents of the certificate file, or browse to the file on the file system.
    (ix) Save the wallet (Wallet -> Save). The wallet will be saved to the [user home]\Oracle\Wallets directory.
    3. Configure the listener for SSL.
    (i) Open the Oracle Net8 Assistant:
    Start -> Programs -> [Oracle Home] -> Network Administration -> Net8 Assistant
    (ii) Select Net8 Configuration -> Local -> Profile.
    (iii) From the drop-down list at right, select Oracle Advanced Security. Select the SSL tab.
    (iv) Select the Server radio button.
    (v) In the wallet directory field, enter the location of the wallet created in step 2, e.g. C:\WINNT\Profiles\oracleuser\ORACLE\WALLET
    (vi) Uncheck the Require Client Authentication checkbox.
    (vii) Select Net8 Configuration -> Listeners -> [listener name].
    (viii) Add a new address:
    Protocol: TCP/IP with SSL
    Host: [database server FQDN] (e.g. oraserver)
    Port: 2484
    (ix) Add a second new address:
    Protocol: TCP/IP with SSL
    Host: [database server FQDN] (e.g. oraserver)
    Port: 2482
    Check the Dedicate this endpoint to IIOP connections checkbox.
    (x) Save the Net8 configuration (File p Save Network Configuration).
    (xi) Restart the listener service.
    4. Configure the database to accept SSL connections.
    (i) Open the database inti.ora file (\admin\[SID]\pfile\init.ora or equivalent).
    (ii) At the bottom of the file, uncomment the line that reads
    mts_dispatchers = "(PROTOCOL=TCPS)(PRE=oracle.aurora.server.SGiopServer)"
    (iii) Save the file and restart the database service.
    5. Test the SSL confi guration using the Net8 Assistant.
    (i) Open the Oracle Net8 Assistant.
    (ii) Select Net8 Configuration -> Local -> Service Naming.
    (iii) Add a new net service (Edit p Create).
    Net service name: [SID].auth (e.g. iasdb.auth)
    Protocol: TCP/IP with SSL
    Host: [database server] (e.g. oraserver)
    Port: 2484
    Service Name/SID: [SID] (e.g. iasdb.orion.internal)
    Note: at the end of the net service configuration, click Finish, not Test. The test can hang if run from the wizard.
    (iv) Test the connection (Command -> Test Service). If the only error to appear is username/password denied, the test has succeeded.
    null

    Dear Alex,
    Thank you for reaching the Small Business Support Community.
    I would first suggest you to uncheck the "Perfect Forward Secrecy" setting on the RVS4000 and if see if there is some similar setting enabled, then disable it, on the other side.  If still the same thing happens, then go to RVS4000, VPN Advanced settings, and disable the "Aggressive Mode" so it becomes "Main mode" and use the same on the other end of the tunnel.
    Just in case and as a VPN configuration guide, below is a document called "IPSec VPN setup" if it helps somehow;
    http://sbkb.cisco.com/CiscoSB/Loginr.aspx?login=1&pid=2&app=search&vw=1&articleid=587
    Besides my suggestions I would advise you to contact your ISP to make sure there is no IPSec traffic restrictions and/or if there is something in particular they require to make this happen and please do not hesitate to reach me back if there is any further assistance I may help you with.
    Kind regards,
    Jeffrey Rodriguez S. .:|:.:|:.
    Cisco Customer Support Engineer
    *Please rate the Post so other will know when an answer has been found.

  • Server side include problem in DW design mode

    I am having issues with one computer out of three...Using DW
    8 on Mac OS 10.4 Intel....
    I have a server-side include set up to contain my navigation
    (nav.shtml) inside of a DW template, and normally, the editable
    regions can be worked in and the SSI area comes up blank until the
    file is uploaded to the server (which is OK...).
    On the third computer, however, the SSI area is actually
    visible in DW, but the Editable Region containing the main content
    area doesn't even show up, therefore we cannot work on web pages on
    that computer. I know this must be a setting having to do with
    using DW and a Mac as a web server, but I cannot find it! Anyone
    have any clues?
    Thanks so much!

    Can you describe teh details of the problem, please?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Phil Cornish" <[email protected]> wrote in
    message
    news:g8eosb$ijq$[email protected]..
    >I have this same problem on a Win XP
    machine...HELP!!!!!!!!!!

Maybe you are looking for

  • How to get  response.getParameter in array type ?

    i have email page in JSP. (page1.jsp) contains ========================================== TO : < having multiple email address so its array of string > From : < String > Subject : < string > Message : <String msg> ====================================

  • Invalid Objects after remove Developer Environment

    Hello, after remove APEX Developer Environment I found some invalid View and Synonyms. Views is okay, table no more exist an the synonym for this view. DROP PACKAGE FLOWS_030100."APEX_MIG_PROJECTS_UPDATE"; DROP VIEW FLOWS_030100."APEX_MIGRATION_REV_T

  • Macbook Air shuts down without warning.

    Hello, My 2013 Macbook Air started shutting down wihtout warning a week ago. I was on 10.9.2 and updated to 10.9.3 and the problem remained. Mon May 19 22:09:47 2014 panic(cpu 0 caller 0xffffff80071ee5d2): assertion failed: igi->igi_version == IGMP_V

  • Wireless Problem Lexmark x9350

    This is my second post and yet again i have a problem with my wireless printer. Although my last post was about Samsung clx-2160 ( it has blown up now ) we are using a lexmark x9350. The printer is connected to my desktop via usb. I also have a modem

  • Overlaying two images

    Hi, I want to be able to overlay two maps, to get a composite image. Like a temperature map of the US with the pressure overlaid on it, so that pressure contours are visible. The real problem is, in a way the images themselves. The images that i am u