HTTP(s) Tunnelling. How?

Ok, here's the situation, I have written an instant messenger (as has everyone here by all accounts). Currently the applet that the client uses connects back to the host and sends serialised messages back and forth between the two.
However my company now want to know whats involved in hiding this applet behind their HTTPS web server so it's buried in their more secure intranet.
I've never looked at this sort of thing before and would be grateful of a few pointers - is it just a case of using HttpURLConnect for example or is there something more with HTTPS?
Any help greatly appreciated.
MrChris

java.net.HttpURLConnection does not support HTTPS connections. In fact, standard Java SDK does not come with a stream handler for the HTTPS protocol.
Generally speaking, you will need to use a provider that has the said type of handler and supports HTTPS protocol.
Take a llok at Java Secure Socket Extension. JSSE for short. http://java.sun.com/products/jsse/index.html
Also, if a general client is expected to connect to the server through a proxy (may or may not be due to a firewall configured between client and server), you would have to setup specific system properties on your client-side
Because you are specifically dealing with an applet, it is recommened that you see http://java.sun.com/products/plugin/1.3/docs/https.html

Similar Messages

  • HTTP Submit Button - How to post data to a Web Server

    HTTP Submit Button - How to post data to an IIS Server
    Steveoruni - 09:50am Sep 4, 2007 Pacific
    Hello,
    I have created a simple form in LiveCycle designer. The form only has some check boxes, radio buttons and text fields for users to fill out. Everyone in my office is on webmail so the Email Submit button is not a smooth option for getting the xml data back to me.
    I would like to use the HTTP Submit button to allow users to submit their form data back to me but I am having trouble. I would like the xml files to end up in a directory on the web server.
    I set up an IIS 6 server and granted the Write right to the anonymous web user account. When I fill out the PDF form and click the HTTP Submit button it doesn't seem to work. Are there any special configuration changes I need to make to my IIS server to allow this data to be posted?
    Should this plan work? Should I be able to have users use the HTTP Submit button to post their data right to my IIS web server or is there some Adobe server I need to buy for this simple form? I'd also be happy if this could work with Apache; it doesn't need to be IIS. I guess my main issue is that I don't know how to get either web werver to accept data in an HTTP post and save it as a file.
    Also, I noticed that when I configure a standard button and set the Control Type to "Submit", there is an option on the Submit Tab to change the Submit As setting to "PDF". Does this mean that my users can fill out my form with Acrobat Reader and HTTP Submit the form to my web server as a PDF complete with their data? If not that's fine, I would be sufficiently happy if the users could post their XML files to the web server so I can open them in the form with Acrobat Professional.
    I am lost and would appreciate any helpful feedback.
    Thanks,
    Steve

    HI again,
    I want to have a pdf fillable form opened on a link.Once user has entered data, the user clicks a button(or some action to invoke saving). At this point I want the filled pdf file to be saved on a certain directory.
    How can save a filled pdf form in pdf format on a certain directory?
    Is it possible to dynamically give the final pdf a name so that it doesnt overwrite everytime it saves the file?

  • With no "lock" or "HTTPS" showing up, how do I know in Safari if an online store is actually using a secure link when their web page makes that claim?

    With no "lock" or "HTTPS" showing up, how do I know in Safari if an online store is actually using a secure link when their web page makes that claim?

    The link in your example - https://www.gmx.com/ - is loading non- secure content from http://themes.googleusercontent.com/
    The lock will display only if everything on the page is secure - in this case it's not.
    As Safari has no way of knowing if theme.googleusercontent.com is going to be transmitting or receiving content that should be encrypted, then the overall page is in no way secure, and as such Safari won't display the lock icon.
    This is correct behaviour - it would be dangerous to users to identify pages as secure when they're clearly not.
    Reloading the page above uses cached copies of the fonts, thus no insecure connection is required on the reload. The issue in the link above (GMX) is not a Safari issue, just really bad web development by whomever built the site and mixed secure and insecure content.

  • I downloaded Mountain Lion to my IMac and MacPro today, since the download, I am unable to play on-line games in Safari.  On-line game is not connecting due to the https encryption.  How do I resolve this?

    I downloaded Mountain Lion to my IMac and MacPro today, since the download, I am unable to play on-line games in Safari.  On-line game is not connecting due to the https encryption.  How do I resolve this?

    Also the touch screen does not seem to be responding adequately.  Thank you for any help you can give.

  • HI i have macbook pro with OSX 10.8. I am facing typical problem with Wi- Fi , in school wi-fi it does'nt connects to http sites and connects only https  but in home wi-fi it connects to all all http and https sites. How fix this problem as I am new this

    HI i have macbook pro with OSX 10.8. I am facing typical problem with Wi- Fi , in school wi-fi it does'nt connects to http sites and connects only https as no security/proxy settings done but in home wi-fi it connects to all  http and https sites. How to fix this problem as I am new this operating system. Please any one help me in this as I have installed Delicious Library which is not working in school becoz it searches amzon http site.

    I would imagine that at school, you're required to connect through an HTTP proxy.
    From the menu bar, select
     ▹ System Preferences ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. Enter the proxy settings given to you by the network administrator. Click OK and then Apply.
    You may wish to create separate network locations for home and school. See the built-in help for instructions.

  • How to force HTTP:ORMI Tunnelling from JDEV?

    Hi,
    I deployed successfully ADF BC as EJB on OC4J and I have tested them using BC4J tester of JDEV.
    I setup a SWING ADF small grid and want to force the HTTP tunneling...
    How can I do that??
    Thanks in advance
    JO

    Weblogic 10.3 generated client use HTTP 1.1 protocol

  • Adobe Document Services - http Response 500 - How to configure the logging?

    We are building an application in Web Dynpro Java that fetches data from an R/3 system via an RFC connection and is then supposed to show said data in a pdf within an iview. For that task we want to use the InteractiveForm UIElement. We bind the data to its pdfSource in the iViewu2019s context. Currently the form only consists of a text field bound to one attribute element of the pdfSource context node.
    The ADS webservice is configured according to the manuals found here:
    http://help.sap.com/saphelp_nw70/helpdata/en/fa/0b700d6cfd4e03a8ec2186ba6ff4af/frameset.htm
    and tested successfully under the following link
    http://<portal_host>:<port>/AdobeDocumentServices/Config?style=document
    However, when we execute the application, an error occurs in the webservice generating the pdf, namely Invalid Content-Type:text/html. The error occurs when the iView containing the form is shown for the first time, even before the attributes of the pdfSource context are filled with data (we expect to see an empty form).
    As it seems the webservice is expected to return a MIME type of either application/pdf or text/xml (we donu2019t know for sure since the SAP manuals and forums are inconclusive here), but instead we get text/html. This seems to be due to the fact that the webservice exits with an http response 500 Internal Server Error (we used several network monitoring tools to confirm that such a response is sent). Since such http responses are but html files with an empty body, yet not xml or pdf, the aforementioned error does make sense to us, but we do not know what Internal Error has caused it.
    The only help that SAP seems to provide for an error u201CInvalid Content-Type:text/htmlu201D in context with ADS points to an expiring password or otherwise poor configuration of the ADSUser, which (most certainly) is not our case here since, and as said above, the configuration was and can be tested successfully.
    We then tried to view the logs for this error on the machine where the J2EE engine is running with ADS installed according to this (not very comprehensible) guide:
    http://help.sap.com/saphelp_nw70/helpdata/de/97/ccfc3f0ac2c642e10000000a1550b0/frameset.htm
    We cannot find anything relevant in the server.log of the Visual Administrator except this message (it is generated exactly when our error occurs u2013 the trace severity is set to ALL for all Adobe application elements according to manual):
    Date , Time , Message , Severity , Category , Location , Application , User
    12/08/2010 , 13:50:46:511 , application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  GENERATEPDF
    Exception id: [0800274DA7ED00850000005B00000900000496E5919E28BA] , Error , /System/Server/WebRequests , com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl , sap.com/tcwddispwda , Guest
    There is no error.pdf to be found on the file system and since neither have we known nor are we told by the error message, whether the underlying cause is is a render error or connection error or configuration error or what not, we donu2019t know whether the error.pdf is supposed to be generated at all.
    Or could there be any other reason why generation didnu2019t take place?
    Furthermore we canu2019t seem to be able to find any logs more verbose or detailed about this issue - at least not within the Visual Administrator or the portalu2019s nwa.
    How is it possible to properly debug the webservice for pdf-generation or at least to retrieve a fully detailed log containing all notifications and exception stack traces etc.?
    I am assuming that we are making some basic mistakes regarding the logging configuration - but what?
    Our goal is to know what causes the 500 Internal Server Error response that causes the Incorrect Content-Type exception.
    We are using a NetWeaver 7.01 portal installation with Adobe Document Services 7.01 installed on a Windows Server 2003 platform.
    Any help is highly appreciated!
    Serg

    Have you tried restarting the Java PDF object in Visual Administrator?  Once you do all of your config, you have to restart the PDF object (sao.com/tcwdpdfobject) for the changes to take place.  I am assuming you've run all of the test programs in SAP (FP_TEST_00, FP_TEST_03, etc.).  Is there any chance that the ADSUSER is locked somehow?

  • Ssh tunnel how to set up in SL?

    I have a server running SL with the firewall activated.  I want to tunnel in to it from outside my own network, while on the road.  I have used SSH Tunnel Manager to do so in the past (like for 4 years) but can not get it to work today.
    On my SL Server 10.6.8 I can not find anywhere to open ports, but I understand that if I activate File Sharing and Remote Management it will open port 22.  Correct? 
    On my router I opened port 3283 and 5900.  Correct?
    Where I get stuck is what to put in to SSH Tunnel Manager.  I can not find any clear novice instructions for it anywhere.  And I am confused as to what to put where.
    Can anybody help?  Thanks.

    Thanks Bob, it is raining cats and dogs so good time to check.
    I got it all up and running. 
    I am testing from a real slow connection (on purpose as this what I have often being on the road) and the screen update is (too) slow.  I tried all your methods and can not see any different in speed (read slowness).
    BobHarris wrote:
    The reason I do this is because Chicken allows me to use reduced colors (like 8-bit colors), and the Vine Server both honors my reduced color request and it actually plays nice with reduced colors (the Mac OS X Screen Sharing server does not alway play nice with anything less then 32-bit colors, which needs a lot more bandwidth).
    Where or how do you implement this?  I can not find it anywhere.  I am on 10.6.8 btw.
    And what is more my connection over Mac's Screen Sharing client, having Vine Server server turned on or not on the remote Mac makes also no difference.  I can get in either way and speed is the same.
    Here is the setting of my remote Mac just in case I should not turn both, the last two, on:
    Than there is an other problem.
    I suppose this is not a problem as I am tunnelling in over SSH, but would like to make sure.
    I also tried to follow the instructions on the alert screen, but no such settings are to be found on the remote computer.  Must be an out of date message text.  Or am I blind?
    Looking forward to your wisdom.
    Message was edited by: ChangeAgent. 
    Had an external link for the images as they refused to upload.  Sometimes, when this happens, you can upload images after you post.  That worked so removed links.

  • Been charged for jack reacher 15.99,but will not download due to too many http addresses open how do I get my money back

    Have purchased jack reacher for 15.99 unable to download due to too many http addresses. I hav only got the apple address open only would I be able to get a download and how do I go about getting a refund thankyou.

    You would really have to ask the app developer if there is a way to export the data.
    As for adding a printer, you would need to purchase an AirPrint compatible printer and connect it to your wireless network.
    By the way, your holiday letter/rant/Idon't even know what to call it... is completely inappropriate for these forums.

  • HTTP reveicer adapter - how?

    Hello,
    I am using this adapter for the first time.
    My address for the http receiver is :
    https://www.dummy.net/web/a2a_demo_idoc/?senderSystem=S_TEST
    I would use the parameter URL in the http receiver adapter comm channel and add this address
    in its full length in the target line in comm.channel.
    I have no more information about the receiver.
    We will enable this address in the firewall, so we do not need user and pwd.
    Can anybody give me a feedback if this is correct?
    I would appreciate your support.
    Best regards
    Dirk

    Hello,
    here I am back!
    There was a problem with the named address as I expected.
    We added the http-Address in SM59.
    But the test was not successful because the address generated by SAP System expects obviously a service no. which we don´t have.
    So filling the whole address into the line of target system generates an address where a service no. 80 is added at the end.
    Result: Connection test from SM59 got a "successful" but connection via SAP PI failed.
    Trace from SXMB_MONI: HTTP-Server Code 400 Reason Bad Request Explanation Bad
    Trace level="2" type="T">HTTP-Destination : HTTP_TEST_PARTY not successful
    When separating the address with
    target system = https://www.test.net/web/a2ademo_idoc
    service no. = empty
    path prefix = /sender_system = S_TEST
    we got such a result: https://www.test.net/web/a2ademo_idoc: 80 /sender_system=S_TEST.
    And missed the connection test because of the added service no..
    Adding a service no. = 00 had the same result.
    -> not succesful
    By< the way, using the http-address in internet browser was successful! So the address is well defined.
    Do you have any idea how to solve this issue?
    Best regards
    Dirk

  • ISQL*Plus :- SYSDBA requires WebDBA role and HTTP Authentication? How to?

    Hi...
    When i try to logon using to iSQL* Plus (Oracle 10g version) with SYSDBA privileges in browser it repeatedly asks for username and password?
    What username and password should i give here? or is there any default username and password exists? or how could i create one?
    Thanks ,
    Avi

    Read Frank's article http://www.oracle.com/technetwork/issue-archive/2012/12-jan/o12adf-1364748.html
    Then you have to check if the user use use to login are defined in the stand alone server. If you server is running in production mode there is no automatic user or role migration. You have to to this by yourself.
    Once you have check that the users are present, you have to check if the enterprise roles are mapped to the corresponding application roles.
    Timo

  • HTTPS RMI Tunneling

    Hi,
    I'm currently having issues with the HTTPS Tunneling. When I make a client request to an EJB, I get the following exception:
    Server returned HTTP response code: 500 for URL: https://localhost:8889/SampleEJB.rmiTunnel [Root exception is java.io.IOException: Server returned HTTP response code: 500 for URL: https://localhost:8889/SampleEJB.rmiTunnel]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:258)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at gov.dhs.visit.pkd.client.AggregatorClient.main(AggregatorClient.java:60)
    Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://localhost:8889/AggregatorEJB.rmiTunnel
    Here are the context properties I set when I invoke the client
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=https:ormi://localhost:7779/SampleEJB
    java.naming.security.principal=oc4jadmin
    java.naming.security.credentials=[pwd]
    javax.net.ssl.keystore=[keystore]
    javax.net.ssl.keystorePassword=[pwd]
    I added the following to rmi.xml
    <ssl-config keystore=[keystore location] keystore-password=[    ]/>
    I also added this to my secure-website.xml
    <default-web-app application="default" name="defaultWebApp" shared="true"/>
    Please help!
    Thanks.

    Nevermind. I resolved the issue. If anyone runs into a problem like this, let me know and I can provide assistance.

  • What's Http Channel and how to use it?

    Hello, there:
    I heard if people use Swing applets as front end GUI instead of JSP, they need to use sth called Http Channel for the communication b/w applet and servlet, I don't know too much about it neither I could too much info from the net.
    Anyone can tell me about it? Some examples are better,
    appreciating your help!
    Sway

    I don't know much about Http Channel (never heard of it before), but normally people use HttpURLConnection.
    API:
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLConnection.htmlTips:
    http://www.javaworld.com/javaworld/jw-03-2001/jw-0323-traps.htmlAlso look at HttpClient by the Jakarta Commons people:
    http://jakarta.apache.org/commons/httpclient/
    Hello, there:
    I heard if people use Swing applets as front end GUI
    instead of JSP, they need to use sth called Http
    Channel for the communication b/w applet and servlet,
    I don't know too much about it neither I could too
    much info from the net.
    Anyone can tell me about it? Some examples are
    better,
    appreciating your help!
    Sway

  • HTTP adapter question - how to tell what URL was used in the runtime

    I need to know the URL information used when sending via HTTP adapter. I cannot find this information in the SXMB_MONI trace under SOAP header or in any other place.
    THanks,
    Pam

    Never mind....I found the log in ICM monitor

  • Flickr Server Error - HTTP Status 500 - how to fix?

    Hi,
    Just upgraded to Photoshop Elements 11 on a x64 Dell running Win7. When trying to share photos using Flickr (which worked previously), I get the following:
    Any idea what I can do to fix this? I've tried resetting accounts in Adobe Partner Services, Clearing Online Service Data, and refreshing the list of services - but makes no difference.
    Any help very much appreciated,
    Dan.
    (Here's the text from the above, for search engines to chew on:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException org.apache.jsp.csp.error_jsp._jspService(error_jsp.java:197) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.adobe.ols.service.pseflickr.SessionFilter.doFilter(SessionFilter.java:80) com.adobe.ols.service.pseflickr.NoCacheFilter.doFilter(NoCacheFilter.java:56) com.adobe.ols.service.pseflickr.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:48)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.28 logs.

    Hi,
    Thanks - I've cleared my browser cache, and tried all the other things available here too, a couple of days ago:
    http://kb2.adobe.com/cps/403/kb403064.html
    When I tried it, it made no difference. Ironically, just using the Flickr service today 'just works'. Server side, as you say, so maybe something got restarted / fixed?
    Given the entire forum web site wasn't accessible yesterday (and that appears to run on Tomcat, too) - perhaps the restart of the one is linked with the restart of the other.
    Anyhow - problem solved - thanks for your support!
    Dan.

Maybe you are looking for

  • Linking Captivate to Excel?

    Hi All, We have developed an IT dashboard using Captivate 5.5 where systems are all in individual boxes and either showing as a Red, Amber, Green based on how much capacity is available on them. To update these right now is a manual process each mont

  • Latest settings don't get saved

    Hello there, I installed a new brush, when I quit photoshop and reopen it I find that the brush is gone. It feels like it resets the settings because also if I choose painting workspace it gets me back to typography when I open it next time. I used p

  • Inspection lot size

    Dear all, I am using in process inspection for that i have set inspection type 3 in material master. An inspection lot is created of the whole order quantity but in one shift only a part of oder quantity is confirmed then in QA 32 How to enter the re

  • RH8, AIR Help - Any way to increase padding in right pane?

    Hi all, My client wants to try the AIR Help format for the next release of their product. They currently distribute it as a .chm. The one pesky issue I'm running into after upgrading to RH8 and generating the AIR Help is that when topics are displaye

  • ITunes won't go into fullscreen?

    Fullscreen opened perfectly fine for every video on iTunes and then suddenly wouldn't anymore. When I try to enter fullscreen the screen flickers, it makes a sound, and fullscreen doesn't open. The video continues playing in the iTunes window fine th