Help with http login privilige levels. Aironet AP-1100.

In CLI we have users log in at priv 1 and use "enable" to increase privilege and do configurations. This allows "accounting" of command history.
On the AIR-AP1121G-A-K9 (12.3(8)JED1) I cannot duplicate this for http login.
I can log in as a user at priv 1. When I try to go to a privileged link like "Security" I get prompted for a second login/pw. Nothing works here unless I have a second user defined at priv 15 and enter that login/pw. The problem is - that login/pw can be used to log in via http in the first place which bypasses accounting of the actual user. It also allows login to the CLI at priv 15 which I cannot permit.
To test I'm trying to use the most simple tests. No https, no radius, etc.
After extensive reading of documens and forums I am using this:
username test1 secret 5 abcdxxx
username test2 privilege 15 secret 5 efghxxx
enable secret 5 ijklxxx
aaa new-model
<--omit wireless stuff-->
aaa authentication login default local
aaa authorization exec default local
aaa authentication login HTTPonly local
aaa authorization exec HTTPonly local
aaa authorization commands 15 HTTPonly local
aaa cache profile admin_cache
all
aaa session-id common
ip http server
ip http authentication aaa login-authentication HTTPonly
ip http authentication aaa exec-authorization HTTPonly
ip http secure-server

I'm thinking that maybe it can't be done. I was trying to have the AP require a user level login and then require a second  "enable" password for enable privileges - with "straight to enable" not possible  from the initial login.
Here are some more attempts:
(p1 = user with default privileges, p15 = user defined with privilege 15)
(step up = can authenticate when some gui links result in secondary login dialog)
aaa authentication login default local
ip http server
no ip http secure-server
---Only allows login with no login name, just enable pwd---
aaa authentication login default local
ip http server
ip http authentication local
---Allows login with p1 or p15. Only p15 works for step-up---
aaa authorization exec http1 if-authenticated
aaa authorization commands 15 http1 local
ip http server
ip http authentication aaa exec-authorization http1
---Allows login with p1 or p15 user but no step-up if p1---
aaa authentication login default local
aaa authorization exec default local
aaa authorization exec http1 local
aaa authorization commands 15 http1 local
ip http server
ip http authentication aaa exec-authorization http1
---Allows login with p1 or p15 user but no step-up if p1---
aaa authentication login http1 enable
aaa authorization exec http1 local
aaa authorization commands 15 http1 local
ip http server
ip http authentication aaa login-authentication http1
ip http authentication aaa command-authorization 15 http1
no ip http secure-server
---Allows login with p1 or p15 only if using enable pw but no step-up if p1---

Similar Messages

  • Update-Help cmdlet not able to update the help with https protocol.

    Hi all,
    I am using powershell 3.0 and trying to implement this updatable feature for our custom powershell module. But I getting the below error:
    PS C:\Users\scorchsvc> update-help -Module <modulename> -Force
    update-help : Failed to update Help for the module(s) 'modulename' : HelpInfoURI
     https://10.65.182.141/dev_releases/modulename/onlinehelp does not start with http.
    At line:1 char:1
    + update-help -Module modulename-Force
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (HelpInfoUri:Uri) [Update-Help], Exception
        + FullyQualifiedErrorId : InvalidHelpInfoUriFormat,Microsoft.PowerShell.Commands.UpdateHelpCommand
    I am able to get this work if I use "http". Error message clearly says that it only expects http. But in the Microsoft help topic for Update-Help cmdlet, it is mentioned that cmdlet works for both http and https both.
    Here are my enteries:
    •HelpInforURI entry in module manifest file is:
                        HelpInfoURI = "https://10.65.182.141/dev_releases/modulename/onlinehelp"
    •HelpContentURI in HelpInfo.xml file is:
                       <HelpContentURI> https://10.65.182.141/dev_releases/modulename/onlinehelp </HelpContentURI>
    I am running powershell as an administrator.
    I am not behind any proxy.
    Windows firewall is off.
    I am mentioning it AGAIN that I am ABLE to update help for our custom module if I use http in HelpInfoURI.
    I am also able to access the URI in IE with http/https.
    Can any one please help?
    Thanks,
    Vinay Ravish

    Hi vinay,
    It seems the certificate issue.
    Please access HelpInfoURI =
    https://10.65.182.141/dev_releases/modulename/onlinehelp with https header to see if your computer could access that.
    If it doesn't work, add it to your trusted site and download to see if there is related certification on that website to download and install it to trusted root certificate for test.
    Karen Hu
    TechNet Community Support

  • Help with customised login JSP on SSO server

    Our customised version of the SSO login page JSP is required to access a database table in order to retrieve a dynamic message to display. This means we will need to create utility java classes in order to connect to the database and retrieve the information. We will also ideally need a data source on the SSO APP Server that we can reference in order to avoid hard-coding environment specific connection data.
    Can anyone help out on where we will need to install the utility classes and where the data source can be created in order for the login JSP to see them. Is there any other configuration we need to consider e.g. classpaths etc?
    The coding we are fine with, it is the actual "what goes where and don't forget to include this" that we are unsure of.

    Hello St***,
    Did you accomplished the cusomized SSO logon page with database access. If yes can you please provide met with some examples and instructions how to accomplish this.
    Regards,
    Dennis

  • Help with http request

    Please, help me with two problems I have to solve. I'm beginner in Java.
    1. Create a simple program that sends http request for index.html and shows the result.
    2. Create a simple program that gets the list of messages from a give mailbox over POP3 (server, username, pass - give as params).
    Thank you!

    But I think that I need request like this:
    GET /index.html HTTP/1.1
    Host: www.example.com
    and as a result (maybe) something like this:
    HTTP/1.1 200 OK
    Date: Mon, 23 May 2005 22:38:34 GMT
    Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)
    Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT
    Etag: "3f80f-1b6-3e1cb03b"
    Accept-Ranges: bytes
    Content-Length: 438
    Connection: close
    Content-Type: text/html; charset=UTF-8Well, under the covers, that will be what you have.
    It says "simple program" - do you think you are expected to connect your own socket and send a request you build from scratch yourself? Unlikely.
    As for the response - you can probably skip the headers and just display the content that follows (in your example 438 bytes).

  • Adobe Update Server - help with HTTP service

    Hi all,
    Could anyone please help me out with the specifics for the HTTP server needed for the Adobe Update Server?
    I'm reading the TechNotes PDF, though helpful for the updater server itself, it isn't really clear on the HTTP service part.
    What url exactly? which rights? and so on...
    Maybe someone could host a website on his OS X Server machine and make some screenshots for me?
    Thanks in advance!!

    Hi,
    There is no specific requirement from the http server for setting up adobe update server using AUSST. It should be any up-and-running http server say Apache. URLs are automatically generated by AUSST in form of client configuration files, so you do not need to bother about the URLs as such.  Similarly rights to the generated updater contents would also be automatically taken care by the tool itself. The only thing you need to figure out and tell the AUSST tool is the http based URL corresponding to the update server root that you are setting up. The latest documentation at http://www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/UpdateServerSetupTool_ TechNote.pdf has some troubleshooting steps that help you out with most common issues.
    Thanks,
    Manju
    (AUSST Engineering team)

  • Help with custom login module

    i've been following franks' tutorial on how to use a custom login module. but no matter what i do, i cant get the jsp to authenticate my valid database account.
    jazn-data.xml file
    <!-- JAZN Realm Data -->
    <name>scott</name>
    <credentials>!tiger</credentials>
    <jazn-loginconfig>
    <application>
    <name>foo</name>
    <login-modules>
    <login-module>
    <class>oracle.sample.dbloginmodule.DBTableLM.DBSystemLoginModule</class>
    <control-flag>required</control-flag>
    <options>
    <option>
    <name>debug</name>
    <value>true</value>
    </option>
    <option>
    <name>jdbcUrl</name>
    <value>jdbc:oracle:thin:@localhost:1521:orcl</value>
    </option>
    <option>
    <name>log_level</name>
    <value>ALL</value>
    </option>
    </options>
    </login-module>
    </login-modules>
    </application>
    </jazn-loginconfig>
    </jazn-data>
    orion-application.xml
    <jazn provider="XML" location="jazn-data.xml"      
    default-realm="jazn.com">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="jaas.username.simple" value ="true" />
    </jazn>
    is there anything wrong with the settings?I've followed the tutorial to the last step. yet i cant get anything. Please help!

    Sorry about the incomplete previous post:
    I am trying to do the authentication using a customized login module in a stand alone OC4J server. I put some debug statements and found out that the authentication works but fails to authorize. I get the following error:
    NOTIFICATION J2EE RMI-00005 Login permission not granted for myApp (testUser)
    The only way I have been able to get this to work is to add the user 'testUser' in system-jazn-data.xml and specify that 'testUser' has the role 'USERS'. It's not practically possible to specify all the users in system-jazn-data.xml. Is there a workaround this? I have pasted below snippets of orion-application.xml and system-jazn-data.xml. Any help is greatly appreciated. Thanks in advance
    I have specified the following in orion-application.xml
    <namespace-access>
    <read-access>
    <namespace-resource root="">
    <security-role-mapping>
    <group name="USERS"/>
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    <write-access>
    <namespace-resource root="">
    <security-role-mapping>
    <group name="USERS"/>
    </security-role-mapping>
    </namespace-resource>
    </write-access>
    </namespace-access>
    </orion-application>
    In system-jazn-data.xml I have given permission for the role 'USERS' to login.
    <grant>
    <grantee>
    <principals>
    <principal>
    <realm-name>jazn.com</realm-name>
    <type>role</type>
    <class>oracle.security.jazn.spi.xml.XMLRealmRole</class>
    <name>jazn.com/USERS</name>
    </principal>
    </principals>
    </grantee>
    <permissions>
    <permission>
    <class>com.evermind.server.rmi.RMIPermission</class>
    <name>login</name>
    </permission>
    </permissions>
    </grant>

  • 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...

  • Help with HTTP protocol.

    Hi every body.
    How can I get HTML code from some page in the internet with
    GET data and POST data?
    OR
    How can use on the usualy sockets like TelNET? I saw the
    MXLsocket class, this is the same thing?
    TNX all.

    Do not know if it's actual for you.
    request a XML with POST data is a little bit contraignent
    because you send only XML in the data field of the request.
    XML.sendAndLoad. (cf.
    http://livedocs.macromedia.com/flash/8/main/00002879.html
    But if you know how to handle that kind of datas on the
    server side, it seems to be your solution.

  • Where's "Need help with your login name or password"?

    I can't find it anywhere - had to create a new login because I only used this foroum once a few years ago!.  However, it still "remembered" my original login, "emarkay"...
    thanks!

    Go to www.linksysbycisco.com, sign in and you'll see Forgot your password. Wait for the e-mail with the new password then use it to log in to our forum.

  • Help with http 401 code ?

    [Add] I forgot to mark this as question [Add]
    I wrote a smalll program that send the xml to soap webservice on the server
    If I use the browser to type the link on(http://myserver/myservices/RequestWS) , it pops up a window authenfication box. I type user name and password in and it works (logged in, see the message from the server)
    However, if I run the java code below, the error is thorwn when I write to the outputStream.
    public static void main(String[] args) throws Exception {
    String SOAPUrl = args[0];
    String xml = args[1];
    URL url = new URL(SOAPUrl);
    URLConnection connection = url.openConnection();
    HttpURLConnection httpConn = (HttpURLConnection) connection;
    byte[] b = xml.getBytes();
    // Set the appropriate HTTP parameters.
    httpConn.setRequestProperty( "Content-Length",String.valueOf( b.length ) );
    httpConn.setRequestProperty("Content-Type","text/xml; charset=utf-8");
    httpConn.setRequestMethod( "POST" );
    httpConn.setDoOutput(true);
    httpConn.setDoInput(true);
    httpConn.setAllowUserInteraction(true);
    httpConn.setDefaultUseCaches(false);
    httpConn.setUseCaches(false);
    OutputStream out = httpConn.getOutputStream();
    System.out.println("httpConn.getResponseCode():"+httpConn.getResponseCode());
    out.write( b );
    out.close();
    }The console is:
    httpConn.getResponseCode():401
    java.io.IOException: Server returned HTTP response code: 401 for URL: http://ADMIN:password@myserver/myservices/RequestWS
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at SOAPClient.main(SOAPClient.java:81)
    Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://ADMIN:password@myserver/myservices/RequestWS
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at SOAPClient.main(SOAPClient.java:74)
    Exception in thread "main"
    Please help.
    Thank you very much
    Edited by: mycoffee on Jun 8, 2010 10:27 AM
    Edited by: mycoffee on Jun 8, 2010 11:06 AM

    morgalr wrote:
    [Check this thread, it should answer your question.|http://forums.sun.com/thread.jspa?threadID=5247915]
    Thank for quick help. My mistake is the colon after "Authorization
    I removed it and I get another error now from 401, now I am getting 500 :D
    {code}String creds = "ADMIN:password";
    String encodeCreds = Base64.encode(creds.getBytes());
    httpConn.setRequestProperty("Authorization:", "Basic "+encodeCreds); {code}
    Edited by: mycoffee on Jun 8, 2010 12:35 PM
    Edited by: mycoffee on Jun 8, 2010 12:36 PM

  • Help with HTTPS

    I have a vendor with an HTTPS server application. I connect to the server, and send data via Posts, and they reply.
    Here is an example of the code:
    try{
    System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
         Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
         URL u = new URL(url);
         HttpsURLConnection huc = (HttpsURLConnection) u.openConnection();
         huc.setDoOutput(true);
         huc.setDoInput(true);
         huc.setRequestMethod("POST");
         huc.connect();
         String sndData = URLEncoder.encode("Data sent to remote application);               
         OutputStreamWriter osr = new OutputStreamWriter(huc.getOutputStream(),"UTF-8");
         BufferedWriter bw = new BufferedWriter(osr);
         bw.write(sndData, 0, sndData.length());
         bw.flush();               
         bw.close();
         InputStreamReader isr = new InputStreamReader(huc.getInputStream());
         BufferedReader br = new BufferedReader(isr);
         String response = br.readLine();
         processResponse(response);
         huc.disconnect();
    This code works fine. However, I need to build on this. I would like to keep the HTTPS connection, and send/receive multiple times. Any suggestions?
    Thanks.

    Hi,
    I have exactly the same code, but have on:
    avax.net.ssl.HttpsURLConnection con = (javax.net.ssl.HttpsURLConnection)url.openConnection();
    following exception:
    Exception in thread "main" java.lang.ClassCastException: com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl
         at SimpleClient.madeObjectCall(SimpleClient.java:67)
         at SimpleClient.<init>(SimpleClient.java:26)
         at SimpleClient.main(SimpleClient.java:106)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    What do you do different?
    Thx a lot.

  • NEed help with HTTP Post

    I am doing an application to login to www.ideas.singtel.com website. There is no error but how do i know that my userName & password is verified?
    [codeimport java.net.*;
    import java.io.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.net.ssl.*;
    class demo_process implements Runnable, ActionListener
         private Thread on;
         //Create Output & Input Stream
         //Connection
         private URL url;
         private URLConnection connection;
         //Create The GUI
         demo client1;
         public void actionPerformed(ActionEvent e)
              String command = e.getActionCommand();
              //TC_MainGUI1 Action Performed
              if(command == "Log In"
              && !(client1.userName.getText().equals(""))
              && !(client1.password.getText().equals("")))
                   on = new Thread(this);
                   on.start();
                   //sms client2 = new sms();
              else if(command == "Log In"
              && !(client1.userName.getText().equals("")))
                   JOptionPane.showMessageDialog(client1,
                   "Invalid Password");
                   client1.userName.setText("");
              else if(command == "Log In"
              && !(client1.password.getText().equals("")))
                   JOptionPane.showMessageDialog(client1,
                   "Invalid User Name");
                   client1.password.setText("");
              else
                   JOptionPane.showMessageDialog(client1,
                   "Invalid User Name & Password");
                   client1.userName.setText("");
                   client1.password.setText("");
         public demo_process(demo client1)
              this.client1=client1;
         public void run()
              Thread thisThread = Thread.currentThread();     
              //Establishing the connection
              try
                   url = new URL("https://www.ideas.singtel.com/myideas/AccessController.jsp?");
                   connection = url.openConnection();
                   login();
              catch(IOException e)
                   System.out.println("Cannot get connected!");
                   System.out.println(e);
         public void login()
              try
                   //Send the Mobile no. & Password
                   connection.setAllowUserInteraction(true);
                   connection.setDoInput(true);
                   connection.setDoOutput(true);
                   connection.setUseCaches(false);
                   connection.setDefaultUseCaches(false);
                   //Establish the Input & Output Streams
                   OutputStream ostream = connection.getOutputStream();
                   String send = "userName="+client1.userName.getText()+"&password="+client1.password.getText();     
                   byte[] send2= send.getBytes();
                   ostream.write(send2);
                   ostream.close();
                   System.out.println(send2);
                   System.out.println("Echo: " + client1.userName.getText());
                   System.out.println("Echo: " + client1.password.getText());
                   InputStream in = connection.getInputStream();
                   InputStreamReader r = new InputStreamReader(in);
                   int c;
                   while((c = r.read()) != -1)
                        System.out.println((char) c);
                   System.out.println(c);
                   in.close();
              catch(IOException e)
                   System.out.println(e);
    }]

    If "form2.php" processes the POST request then you shouldn't be sending it to "myform.php" in the first place.

  • 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.

  • Help With HTTP BUTTON

    Is there a way to have an HTTP BUTTON that when the user clicks, Saves the PDF (“Save” or “Save As”) the PDF, then open the “Contact us” page on a website and the path is inserted in the upload path.  The “Contact us” page is run by formmail.v50

    Yes, maybe.  You've got a complex series of actions there, and whether or not they can be done depends on the details.
    First, there is a PostSubmit event, so yes, there is a place to put the code that will implement these operations.
    Next, if the form is Enabled for Save in Reader then it can be saved locally, but this operation can only be done silently from a privileged context, which a form script is not.  But you can display a SaveAs dialog to the user and let them save it.
    And finally, a script can open a web page with the app.launchURL() function.  But it can't directly access a field on that page.  There are several ways around this. For example, if that page was a server script that accepted query parameters then you could pass the path by tacking it onto the end of the URL.  Another option would be build the URL that the web page creates when the user presses the upload button and pass this into app.launchURL.  There are also other ways. But they get pretty complex and depend largely on the specific workflow, for example you could use the HostContainer object in Acrobat JavaScript.  .  
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/javascript.html
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • 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?

Maybe you are looking for