Need help with HTTPS Client/Server

Hi i really dont know much about this topic and i was wondering if any 1 knows where to find a good example program to set up a
HTTPS Server/Client or at least how to implemnt a HTTPS Client.
thanks in advance

URL.openConnection works fine as a client. You don't have to do anything other than specify the protocol as https.
I don't know what you are looking for in terms of server. Are you trying to write your own server? Which part do you not know? The HTTP part or the S part?

Similar Messages

  • Need HELP in JAVA ( client /server application )

    hi there ,
    I need the following codes in java for my client/server application . which i can use to perform certain function on another computer on LAN. This is part of my semester project . I would really appreciate if any one can help me
    ->Open/close the CD-ROM once or in intervals (specified in seconds).
    ->Swap mouse buttons the right mouse button gets the left mouse button's functions and vice versa.
    ->Start optional application.
    ->Play optional sound-file.
    ->Point the mouse to optional coordinates.
    ->Shutdown the system, logoff the user etc.
    ->Mouse can be controlled on the target computer with remote mouse.
    ->Keys (letters) on the keyboard can be disabled.
    ->Increase and decrease the sound-volume.
    ->Listen for keystrokes and send them back to you!
    I would really appreciate if some1 can help me find these codes in java
    thanx
    Alamzaib Shafi
    [email protected]

    Dude, if you did your own homework once in a while you'd be able to handle your own semester project. I hope you fail your class and get kicked out of the program. One less idiot with a diploma competing with us hackers for the tech jobs.
    You are indeed a most worthy recipient of my unemployed angst.

  • Need help with Flash media server

    I am using XAMPP. Now i want to intall Flash media server. How can i configure my apache server to work with flash media server? I dont want to install the apache server coming along with flash media

    Hi,
    What excactly is the usecase you are trying here? Are using your external Apache to proxy your http traffic from FMS to it or do you want to use http streaming feature of FMS?
    If you want to proxy it then use the following document : http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WSE2A5A7B9-E118-496f-92F9-E295 038DB7DB.html
    Refer Configure HTTP proxying topic in the document.

  • Need help in desigining Client/Server Application using Java

    Hi,
    I am new to Java and no sooner that I started studing it I have been given a project - client server java Application that allows a user to do a property search based on critiras (eg location, price) and display the results. I am stuck because I don't know where I need to start. Have to use IDE (Netbeans or Eclipse) but not sure about dev frameworks.
    Can someone give me an outline of what I should do / where I should start? What will be the best solution?
    Thanks in adance

    http://java.sun.com/docs/books/tutorial/networking/index.html
    That's Sun's networking tutorial series. Live it, learn it, love it. You'll need to decide if you want to use connected sockets or datagrams. You'll need details like, can multiple clients connect simultaneously?
    The tutorials are the first step though.

  • Need help with HTTP keep-alive

    Hi folks!
    I have this very simple web server and I would like to add keep-alive support. I've been trying to get my head around it for a while and could need some help (I found this question in the archive, but those replies didn't help)...
    This is my starting point (stripped down to the basics):
    /* A listener thread that accept incoming requests by creating new request handlers */
    public class HTTPListener implements Runnable
        private ServerSocket serverSocket;
        public HTTPListener(int port)
            // Try to create a server socket on specified port
            try
                serverSocket = new ServerSocket(port, 0);
            catch (IOException ex)
                System.err.println("Oops!");
        public void run()
            while (!Thread.interrupted())
                try
                    // Listen on server socket until a request arrives
                    Socket s = serverSocket.accept();
                    // Create handler to service request
                    RequestHandler h = new RequestHandler(s);
                    new Thread(h).start();
                // Server socket closed when listening
                catch (SocketException ex)
                    Thread.currentThread().interrupt();
                // Failed to close socket or failure during server socket accept
                catch (IOException ex)
                    System.err.println("Failed to accept request");
            try
                serverSocket.close();
            catch (IOException ex)
                System.err.println("Hmpf...");
    /* Handler that prints out requests and always answers with status 200 */
    public class RequestHandler implements Runnable
        private Socket socket;
        public RequestHandler(Socket s)
            socket = s;
        public void run()
            System.out.println(">>> New request handler");
            try
                BufferedReader reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                String str;
                while ((str = reader.readLine()) != null)
                    System.out.println(str);
                sendDummyReplyWithKeepAlive();
                reader.close();
                socket.close();
            catch (IOException ex)
                System.err.println("Crap, got an exception!");
    }When I run the server (which in reality has a little more to it) I never get more than one request printed for each ">>> New request handler", which is not surprising!
    Now, with keep-alive support I expect to get consecutive requests from the same client printed by the same handler instance. What I have to do (as I've understood from my readings) is to modify the while loop in the request handler that reads from the socket so that it spins until the connection is closed by the client (or a keep-alive timeout occurs) and blocks while there is nothing to read.
    Perhaps I'm being stupid now, but how do I actually do this?

    ejp wrote:
    and also an incorrect implementation of the timeout period. This code will still wait forever if no data arrives.You're right... actually I didn't mean to put that while loop there! What I meant was simply
    if (!reader.ready())
        wait(keepAliveTimeout);
    if (!reader.ready())
        break mainLoop;
    // If we get here there is a new request to read...and I agree that it's ugly, that's why I'm asking you guys for help!
    setSoTimeout() is of course a way to go... didn't think of that although I have kind of already added it to my code but with a different timeout. Thanks!
    Last question then is:
    does reader.readLine() block like reader.read(), or do I have to use the latter?
    I would test for myself I could, but at the moment I can't...

  • Need help with MS SQL server JDBC driver

    Anyone has experience getting ACS working with SQL2005? We keep getting ‘com.adobe.adept.persist.DatabaseException: java.sql.SQLException: No suitable driver’
    We’re using sqljdbc.jar and sqljdbc4.jar that downloaded from Microsoft website. We added this to every library folder under tomcat, JRE and SDK but it did not help. Any suggestion will be helpful.
    Thanks-

    Hi,
    We have ACS with SQL Server 2005 Std correctly working.
    We have this settings:
    ############ SQL Server Connection ############
    com.adobe.adept.persist.sql.driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
    com.adobe.adept.persist.sql.connection=jdbc:sqlserver://ip-addressSQL:PortSQL;databaseName =Adept
    com.adobe.adept.persist.sql.dialect=microsoft
    com.adobe.adept.persist.sql.user=userSQL
    com.adobe.adept.persist.sql.password=passSQL
    Wi use Microsoft SQL Server JDBC Driver 3.0 downloaded from Microsoft website (http://www.microsoft.com/download/en/details.aspx?id=21599)
    Good luck,

  • Need help with http POST concept

    hi i just started learning about HTTP..im trying to pass a value from a thin java client from command prompt through POST method directly to a destination (another java bean) without any HTML/jsp (no pages) .
    i've created a caller.java which is used on command prompt :
    java caller param1 param2
    then, this caller will actually point to a struts path on my server, (which i think is a servlet) and do proper processing.
    caller.java :
    public static void main(String[] args) {...
    String url = str + "/do_something/prog0001_getAnswer?" +
         "param1=" + args[0] +
    "&param2=" + args[1];
    URL server = new URL(url);
    HttpURLConnection connection =
    (HttpURLConnection) server.openConnection();
    connection.setRequestMethod("POST");
    connection.connect();
    System.out.println("connecting to server..... " + connection.getResponseMessage());
    then on servlet :
    httprequest's .getParameter("param1");
    httprequest's .getParameter("param2");
    to obtain the values.
    even if set my URL's instance (server) 's RequestMethod to POST, i'm still able to obtain the parameter values in the servlet? I thought POST method requires different way to pass the values to a servlet? i've been searching..the most i could get are examples with HTML's FORM's name attribute

    What method have you written in Servlet?
    service, doGet or doPost.
    If you have written service, then it does not matter what mthod you specified.

  • Need help with BB Internet Server/Upgrades for 8530

    Looking for APPS&Software to download BBInternet Server,RIM BBSLA for the latest version of UPGRADES! My BB8530 Lost my original BBEnterprise Server when I did the upgrades , Now have no INTERNET BROWSER!!!! HELP PLEASE!Need my WEB BROWSER BACK! Everything was working GREAT before I did the UPGRADES SPRINT&BLACKBERRY kept texting & emailing me to do!! Wish I had not done them,now! How do I go back to original?Can't tell anything got better,just messed up my Browser!!!!HELP !

    Firstly, this is a self-help forum for ordinary BB owners to find and provide answers. We aint paid AND WE DONT EXPECT TO BE SHOUTED AT
    As with all forums, you cant expect everyone to be logged-in all the time. Some have more time than others and the majority only visit because they have a problem.
    That said, I'll have a look see if I can help.
    Blackberry Best Advice - Back-up weekly
    If I have helped you please check the "Kudos" star on the right >>>>

  • Need help with updating Name Server update for home webserver

    I set up a webserver at home to run my own domain/website. I am able to type my IP address into Safari/IE and get to my website fine. I now need to update the NameServer with the previous domain hosting service, but I have no idea how to find out the NameServer (Compast is my ISP) to put into the UPDATE NAME SERVERS form for the previous hosting company. I need to obviosly do this before people who type in my web address can be directed to my home server instead of the old hsoting company. The previous hosting server is ns.teammediaonline and ns1.teammediaonline.com. Do I use something like ns.comcast.net or something? I already have the IP address and know it works fine. Comcast does notchange the IP's too often and I will not have much traffic to my site, so I should not have any issues with them. I am sure this is a very simple issue. Any help would be greatly appreciated.

    Hi--
    You definitely do not want to contact Comcast. Servers are forbidden to their residential customers. If you contacted them, not only would they refuse to help, that might put you on a list to watch in case you do set one up. Now, if you're careful, don't server out a lot of traffic, and aren't a general nuisance to the people on your node, they most likely won't notice if you don't contact them.
    However, you'll need to look into a different DNS solution. Do a search for "Dynamic DNS" and you'll find a number of services that will be able to help you out. This one, DynDNS, has some reading material that might help to explain what you need to do...
    charlie

  • (beginner) Need help with a client [Beginner]

    Hi, i'm danny and i'm following tutorials and lessons, and i created my own server and i tried to make my own webclient. My Teacher send me a webclient and he said that i only have to change the ip adress into mines (runescapeworld143.zapto.org) and compile it. The whole problem is now my teacher is on holiday and i called him if he would help me he said that i must ask it to the forums of oracle, so here is my question.
    Ok the source is here if you wanna download it [http://updatedannyskape.webs.com/client.jar.src.zip]
    My teacher say's that the current ip = 188.165.201.65:port43594
    and you have to change it in you're ip adress (runescapeworld143.zapto.org)
    but the problem is now i searched the whole document for 188.165.201.65 but i can't find it, can somebody help me out where i can find this?
    I also tried to compile the source but there are over the 100 errors
    Maybe this is because i created my own compiler ?
    I don't know but here is the compiler code
    @echo off
    cd .
    "C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -sourcepath scr/*.java
    pause[Compiler error picture|http://updatedannyskape.webs.com/error.png]
    I hope you are able to help me, Already thanks !
    Edited by: Codenowy on Aug 18, 2010 1:21 PM
    Edited by: Codenowy on Aug 18, 2010 1:22 PM

    Open your file in QuickTime Player then press command & J keys to access the Properties window.
    Click on *Video Track* then *Other Settings*.
    Actvate the checkbox next to *Cache (hint)*.

  • Need Help with Industrial Telnet Server

    Hi All,
    I'm trying to use ADF Telnet features. But I have some question about it.
    1. How can we set the ITS password? I can find its setting on the xml.
    2. Can we set the ITS service with a list of allowed IP or MAC? or maybe you can give me another option to secure its service. Cause as I know, telnet is not secure.
    Thanx in Advance,
    Andre

    >is there a way to rest it so i can type in my new password?
    Your username and password are stored in your keychain. You can remove the key from the keychain and the next time you connect you'll be asked to authenticate again.
    Open /Applications/Utilities/Keychain Access, find the relevant key (sorted by server name) and delete it.
    >i cant place any files ont the server. it says that it is read only. how can i change it to read and write?
    If you're usin the Finder as your FTP client, you can't. The Finder only supports read-only FTP. To upload files to a FTP server you need to use some other client.

  • Need help with Edge/Origin server configurations

    I've been trying now for few days to configure an Edge server that would connect to our working Origin server.
    I have not changed anything on the Origin server and media are served properly
    I can easily play all media from the videoPlayer.html sample app distributed with the server.
    http://10.0.9.19:8134/samples/videoPlayer/videoplayer.html
    using the media;
    rtmp://10.0.9.19/vod/stories/Test/test
    Now I have installed a fresh version of FMS on a second machine and configured the Edge server as follow;
            <Proxy>
                    <Mode>remote</Mode>
                    <RequestTimeout>5</RequestTimeout>
                    <Anonymous>false</Anonymous>
                    <CacheDir enabled="true" useAppName="true">
                            <Path>c:\fmscache\</Path>
                            <MaxSize>32</MaxSize>
                    </CacheDir>
                    <LocalAddress></LocalAddress>
                    <RouteTable protocol="">
                            <RouteEntry>*:*;10.0.9.19:*</RouteEntry>
                    </RouteTable>
                    <EdgeAutoDiscovery>
                            <Enabled>false</Enabled>
                            <AllowOverride>true</AllowOverride>
                            <WaitTime>5000</WaitTime>
                    </EdgeAutoDiscovery>
                    <AggregateMessages enabled="true">
                    </AggregateMessages>
            </Proxy>
    Now if I try to connect to rtmp://10.0.9.20/vod/stories/Test/test i simply get an error saying that it cannot connect to the network...
    I also tried rtmp://10.0.9.20/?rtmp://10.0.9.19/vod/stories/Test/test
    That is using the videoPlayer.html sample and/or our app.
    What I am doing wrong?

    Ok, it seem that I just found something;
    If I launch the browser on the same machine as the edge and use "localhost" instead of IP it works.
    So
    http://localhost:8134/samples/videoPlayer/videoplayer.html?source=rtmp://localhost/vod/sto ries/Test/test
    works while
    http://localhost:8134/samples/videoPlayer/videoplayer.html?source=rtmp://10.0.9.19/vod/sto ries/Test/test
    don't!
    So there must be a config I am missing to tell the Edge to listen on ALL IP...
    ok, that is all good if the browser is ran from the same machine as the Edge server but still not working if the browser is launched from my desktop
    Message was edited by: André Couture

  • Need help with Constribute Publishing Server

    I was asked by Technical Support to make a post on these
    forums.
    I've run in the same problem as
    This
    individual. I cannot deploy dependent files. from my staging to
    my live/production environment. Both are linux servers (case
    sensitive file systems)
    In that thread, they have mentioned there is a bug in the
    simple file deployment service.
    Would really love to have the engineering team fix the bug,
    and send a patch.
    Please help! Thanks!

    Hi
    I posted this some time back. Specifically with Linux systems.
    Get your Hex editor out and look for the case of th eletter "D" in the word "Dependencies"
    http://forums.adobe.com/thread/70915?tstart=60
    If you edit the file right it works 100%.
    Good luck.
    Here is my edited file if you want to use it. That is the only change I made.

  • Need help with iPlanet App Server Install

    We have the Fast Track edition installed as webserver on an NT box. We
    have also loaded the Test Drive edition application server and we are
    trying to verify its installation. I have the IP and port number and
    then put in the /ias-samples/index.html and keep getting message Invalid
    URL.
    Checked for the directory existance and it is there. Does it need to be
    mapped somehow?
    What are we missing?
    Thanks In Advance ~

    Hi Tom,
    I don't know what is Fast Track edition of web server. Would you give
    the
    webserver name and version number (such as iWS 4.1 service pack6). It
    may be the case that iAS does not support the iWS. Check if the web
    server is running fine by typing only the ip address. No port number is
    neccessary for NT. You can try with no port number.
    <machine name>.<domain name>/ias-samples/index.html
    regds
    iAS devsupport
    visiontechdesigns wrote:
    >
    We have the Fast Track edition installed as webserver on an NT box. We
    have also loaded the Test Drive edition application server and we are
    trying to verify its installation. I have the IP and port number and
    then put in the /ias-samples/index.html and keep getting message Invalid
    URL.
    Checked for the directory existance and it is there. Does it need to be
    mapped somehow?
    What are we missing?
    Thanks In Advance ~

  • Please need help with OWB client

    Hi All
    I have a problem where i can get into the OWB client but i cannot use the deployment manager, when i click on the deployment manager i get a blank pop up window, so now i want to uninstall and reinstall the OWB Client. I have a universal installer do i have to go through the universal installer to uninstall the OWB Client and reinstall it or is there any other way? It would be of great help if any one of you can post the procedure and the steps to follow.
    Thanks

    Which platform and OWB version is it? Can anyone else open the deployment manager for this repository on their systems?
    To reinstall you have to uninstall using the Oracle Universal Installer, or just install another image in a different home.
    Cheers
    David

Maybe you are looking for