HTTP post with SSL v3

Hello

I use Orchestrator version 4.2.1 build 555

And I do an HTTP Post to a server that only accepts SSL v3

The code is easy:

//Auto-generated script
var urlObject = new URL(url);
result = urlObject.postContent(content) ;

But that's what I get as error:

HTTP GET error: sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked

If I do a post manual to this url with the content of the message succeeds.

Is it possible that the Orchestrator can only use SSL v2?

And is there a way I can make the post HTTP messages with SSL3

This is not the right place to import the certificates from the remote host.

Please open the vCO Web Configurator, go to the tab 'network' (not 'server certificate' tab), and then select the 'SSL Trust Manager' tab in the right pane.

There is a labeled text box "URL from which import a certificate". Provide the remote host/port (IE. ( https://10.23.30.40:8281), and then click the "Import" button on the right. Then restart the vCO server and try again the POST.

Tags: VMware

Similar Questions

  • Using the HTTP Services with SSL using Internet Explorer

    Hello

    Basically what is happening, is that secure services are not load when I shoot to the top of the Web site when you use Internet Explorer. The site works perfectly in FireFox and Safari support however nothing via the HTTP services when using SSL. I read the Wired article http://weblogs.macromedia.com/lin/archives/flex/security/index.cfm on the use of SSL with THE de Lin Lin, however I am confused as how to implement the changes that she mentions. Basically, she mentioned a couple of the reasons why the httpServices would not be able to load data in the event of connection via SSL. I've read about the Adobe TechNote at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c & SSP = rss_flashplayer_fdc7b5 c , but it was not clear either.

    1. How can I change the settings of the server have the correct header information?
    2. can I change something in the compiler Flex for SSL and IE?

    It works perfectly in FireFox and Safari, and retrieves the data without any problem. All ideas, information would be appreciated.

    Hello

    Basically what is happening, is that secure services are not load when I shoot to the top of the Web site when you use Internet Explorer. The site works perfectly in FireFox and Safari support however nothing via the HTTP services when using SSL. I read the Wired article http://weblogs.macromedia.com/lin/archives/flex/security/index.cfm on the use of SSL with THE de Lin Lin, however I am confused as how to implement the changes that she mentions. Basically, she mentioned a couple of the reasons why the httpServices would not be able to load data in the event of connection via SSL. I read on the Adobe TechNote http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c&pss=rss_flashplayer_fdc7b5 c , but it was not clear either.

    1. How can I change the settings of the server have the correct header information?
    2. can I change something in the compiler Flex for SSL and IE?

    It works perfectly in FireFox and Safari, and retrieves the data without any problem. All ideas, information would be appreciated.

  • Sending long HTTP POST with URLEncodedPostData

    Hi all.

    I try to call a REST service that receives the parameters string POST and I did it successfully with URLEncodedPostData until I needed to send a 'long' String param (around 40 K. It is a single HTML page). Then, I got a 500 error from the server code. Should I consider a particular case after a certain size or would it be a server error?

    This is how to create the URLEncodedPostData object

    URLEncodedPostData data = new URLEncodedPostData("UTF-8", false);
    data.append("email", user.getEmail());
    data.append("password", user.getPassword());
    data.append("subject", subject);
    data.append("content", content);
    

    ... and then send the MESSAGE

    ConnectionFactory conn = new ConnectionFactory();
    ConnectionDescriptor desc = conn.getConnection(url);
    c = (HttpConnection) desc.getConnection();
    c.setRequestMethod(HttpConnection.POST); c.setRequestProperty(HttpHeaders.HEADER_CONTENT_TYPE,data.getContentType()); c.setRequestProperty(HttpHeaders.HEADER_CONTENT_LENGTH,String.valueOf(data.getBytes().length)); c.setRequestProperty(HttpHeaders.HEADER_ACCEPT, HttpHeaders.CONTENT_TYPE_APPLICATION_XML);
    OutputStream os = c.openOutputStream();
    os.write(data.getBytes());
    os.flush();
    os.close();
    int rc = c.getResponseCode();
    

    RC is 500 so that is bad, but if I cut the content to

    data.append("content", content.substring(0,100));
    

    It works very well. That's why I think that it a problem with the MESSAGE size.

    Any ideas?

    I just checked and I can confirm that the problem was not on the device but on the server.

    The content is sent completely to the right server by using the code written before, but the server does not handle because he has size limitations.

    Thank you all for your comments. Bravo for you

  • A form of Google with http POST VI

    Dear LabVIEW forum,

    I'm filling out a very simple form of Google consisting of 4 text fields named AI0 AI1, AI2 AI3.

    I use the http POST provided by LabVIEW VI:

    When I run this, a new row is added to the answer sheet, but values do not appear, with the exception of the timestamp.

    What I am doing wrong?

    Thank you!

    Hello

    I had a quick look at the form and text next to the entry boxes is AI0... but the names of the input text boxes aren't AI0 etc.. You may need to get the page first and then scan the page for the name of the entry.

    Mike

  • HLS (HTTP Live Streaming) with SSL

    Hi guys

    Could someone give me pointers, advice?

    We tested CTS with and without AES and both work BB10.

    Then we tested with SSL and the camera seems to use/send no certificates.

    If we have our own SSL certificate, how can use us it via the MediaPlayer or WebView?

    Kind regards

    Pepe

    Hello

    The API of MediaPlayer Cascades currently does not allow this feature. However, you should be able to do this if you use the C API mm-made instead (the Cascades MediaPlayer API is a wrapper of the C mm-renderer API). This means you need bit more code together upwards and handling in C (instead of Qt/C++/QML) so just for reference, I'm pasting some links for reference:

    * You can check funtion: mmr_context_parameters() - look for all parameters that you can pass (for example OPT_SSL_VERIFYPEER)

    Link: https://developer.blackberry.com/native/reference/bb10/mmrenderer_libref/topic/mmr_api/mmr_context_p...

    * Preview links of mm-rendering engine:

    https://developer.BlackBerry.com/native/reference/BB10/mmrenderer_libref/topic/about.html

    * A sample application that shows the implementation of mm-engine rendering contexts:

    https://github.com/BlackBerry/NDK-samples/tree/master/VideoPlayback

    (Note that it does not use the queue of the mm-engine event of rendering to hear updates of status here; but you should use that, instead of the BPS queue)

    See you soon,.

    Rashid

  • Help with JSON HTTP Post request

    Still fairly new to QT so I try to send a query with some json http post, I'm pulling the json to a file and which seems to work fine but I get a http 500 error. I want to just make sure that my code is correct before contacting the company that webservice I use here is my code:

     JsonDataAccess jda;
        QVariant list = jda.load(QDir::currentPath() +"/app/native/assets/jsonData/myjson.json");
    
        qDebug()<post(request, list.toByteArray());
    

    I have a feeling that I'm passing in json data in the wrong post method. Any help is appreicated

    Hello

    You send an empty server string because list.toByteArray () returns an empty string.

    You must save the QByteArray list;

    QByteArray result;
    jda.saveToBuffer(list, &result);
    
    // and then
    
    QNetworkReply *reply = networkAccessManager->post(request, result);
    

    or

    Simply load the json with QFile file

    QFile file(YOUR_JSON);
    if (!file.open(QIODevice::ReadOnly)){
        qDebug() << Q_FUNC_INFO << file.errorString();
        return;
    }
    QByteArray result = file.readAll();
    file.close()
    
    QNetworkReply *reply = networkAccessManager->post(request, result);
    

    Hoe it helps

  • sign the document with 'Draw my signature' and send it via http-post

    Hello

    I have a pdf document with a signature field. When im opening with AcrobatReader XI, I can sign / Place Signature / draw my signature. I can't 'save a copy '. It works pretty well.

    Now, I place a button in the pdf document to be sent via http post to a given address. When I now open this PDF in the XI AcrobatReader, trying to sign. I can only do this with sign / Place Signature / use a certificate. But there is no way to "draw my signature."

    Did I miss an option to do this? Pls tell me if he has a chance to sign the document with 'Draw my signature' and send it via http-post.

    Or is this part of the concept? When I'm looking for a solution, I found EchoSign electronic signature.

    What is available depends on how the as is put in place. If you include a button with an action of type 'Submit form' and/or reader - enable the form, then e-signature (signature of drawing) will not be available in the player. If the document is compatible player then digitally signing will. So for what you want, do not Reader-enable the document and you can use the submitForm JavaScript method to submit. The site that has the JavaScript documentation was not available at the time I wrote this, but post again if you need help with that.

  • Getting 7 error with the HTTP POST vi method when deplyed ISO crio as executable... urgent!

    Hi all

    I have an application where I can access the net server point of LabVIEW via the HTTP protocol to send the data. My application works fine when I run it on XP, and also sometimes on cRIO. I'm writing and reading files to store and read data from the server.

    When I do my application executable and deployed on cRIO I am constantly 7 error that says "Error in the node library function to call at the POST vi LabVIEWHTTPCLIENT".

    After getting this error if I try to run the my new project the crio (not through exe) I keep getting the same error. This means once the executable file is deployed on the crio, I get the error in my project application which was working fine before you deploy the executable file.

    7 occurs very frequently. and I am unable to find the reason. I gave all the paths in the constant form located on crio and files accessible also when the application is run.

    Is someone can you please help me what this error 7?

    as a result, that it is bound to the HTTP POST vi method...

    How can it be fix?

    Its quite urgent...

    Thanks in advance.

    Solution is provided by the NOR... Vi POST method missing two files that need to be there in the startup of the CRIO.insted folder there is in the system folder. That's why when running the exe that the startup on crio application it gives error as the files are not there. The fix for this HTTP POST vi update isn't out yet EITHER.

  • Problem when using SOAP requests with HTTP POST function

    Hello!

    Using the vi of HTTP POST to send SOAP requests to a device, I encountered a problem.

    Take care of the HTTP header for you HTTP POST vi and defines the type of 'content' as "Content-Type: application/x-www-formulaires-urlencoded. Who is considered to be 'non-soap' requests by some Web servers.

    Standards W3C says in this case, you should be content-type: "application/soap + xml".

    Link to the page to W3C standard: http://www.w3.org/TR/soap12-part0/#L26866

    That is possible to update this feature in a future release so that programmers can choose (or type) the necessary content type?

    Have you tried "Add header" to change?

    http://zone.NI.com/reference/en-XX/help/371361L-01/lvcomm/http_client_addheader/

  • Authentication http post VI errors

    I am trying to query a web service to third parties non-LabVIEW LabVIEW 2014, using HTTP POST. Using another utility (restclient-ui-3.5-jar-with-dependencies.jar), I checked that URL, user name, password, and query syntax are accurate and are running on the same computer where my VI fails. I must be missing something when translating that to LV, because I get the error 401 (full authentication is required) and also 415 (unsupported media type).

    I have attached the configuration file used for the other utility, my VI and an overview of the response from the Web service for the post of the VI.  I had to make all anonymous, hide url, user, etc., so it can not really be tested as it is, unfortunately. I tried with & without additional authentication header, with & without Config SSL, etc. You can see the different options on the VI.

    Any suggestions?

    Thank you very much.

    Solved my problem with a combination of different required headers and syntax fixes.

  • HTTP POST 2012 of LabVIEW for Mac error:-1967362015

    I'm so moving an application to a mac platform labview and I encountered some problems with the Vi HTTP Client functionality.

    The connections work well with http requests and https in the project view, but begin to fail when it is compiled into an executable file. I was able to isolate the error code-1967362015, which reads like a failed to load library error. In reading the other posts, it gave me the idea of a symbolic link libraries ni_httpclient for the folder OR, but it does not solve my problem. This would have something to do with the fact that the LabVIEWHTTPClient.lvlib see the NI_InternetTK_Core_VIs.lvlibSL.vi to be a library 'friend '?

    The vi I joined is he who tries a get or a post without ssl request and receive the same error on both when built as an executable file. It is difficult to debug because the vi client http is locked. Any help would be great!

    We were able to get telephone support OR on the issue, and it turns out it was a problem with LabVIEW 2012 on the Mac platform. The solution to the issue of the library was the following: located in the/Library/Frameworks/LabVIEW\ 12.0\ Runtime.framework/resource/ folder should be a file called ni_httpClient.framework.  Please rename this file to ni_httpClient.framework.bak.  Then re-create the executable file.

    This solves the issue of creating applications using the vi client http, but there are questions still pending building applications by using SSL.

    Thanks for the suggestions.

  • HTTP Post documentation does not mention the forums (BUG)

    Documents of the VI of HTTP post (see here) do not mention that there are 2 instances of this VI. It contains only the help on the string instance.

    Right-click on the VI shows that it is a polymorphic VI, with a buffer (string) and the instance of the file (paths).

    Aid for these screws would normally have a ring "Instance" where you could see that there are other forums. (example)

    This absence made me several hours of debugging, because the buffer method stops playback of the chain after finding a NULL byte. (this could be a separate bug).

    In my opinion all polymorphic screws should show their terminal selector.

    Tone

    Your dear,

    I reported the problem of documentation in corrective action request # 244384. I'll have another look in the question on the search for the null byte. Thank you for bringing this place.

    Best regards

  • HTTP POST works does not as expected

    I can't understand why the POST with data works when I use Firefox, but not when sent from the BlackBerry. The only difference seems to be that the BlackBerry less sends the headers, but it's all legal HTTP.

    It's TCP data are sent to the server (from recorder package):

    ----------------------------------

    HTTP/1.1 POST/page
    Host: localhost
    Connection: close
    Content-Length: 8

    test = abc

    ----------------------------------

    That sounds about right. However, the Web Server table $_POST (PHP) is empty.

    Code follows:

         HttpConnection c = (HttpConnection)Connector.open(connectionString);
            c.setRequestMethod(HttpConnection.POST);
    
            DataOutputStream out = c.openDataOutputStream();
            URLEncodedPostData postData = new URLEncodedPostData(URLEncodedPostData.DEFAULT_CHARSET, true);
            postData.append("test", "abc");
    
            System.out.println("requestData: " + new String(postData.getBytes()));
            out.write(postData.getBytes());
            //out.flush();
    
            c.getResponseCode();
    
            InputStream is = c.openDataInputStream();
            LineReader lr = new LineReader(is);
    
            while(true)
            {
                try
                {
                    byte[] arr = lr.readLine();
                    System.out.println("Line: " + new String(arr));
                }
                catch(EOFException e) { break; }
            }
    

    Everyone knows about similar problems using POST?

    See you soon,.

    Pav

    Update:

    -J' tried this on 2 servers Web (Apache + PHP) unrelated, both have the same problem.

    SOLVED!

    I tried to put different headers that Firefox sends inside the request of BB and it does the job:

    c.setRequestProperty ("Content-Type", "application/x-www-formulaires-urlencoded");

    Hope it saves someone out there a lot of frustration :-)

  • OutofMemoryException/EOFException when bleow data via HTTP POST

    Hello

    I got OutofMemoryException when I download data with size larger than 2 MB. I use http post by specifying

    'Content-Type', ' multipart/form-data; Boundary = boundaryvalue.

    in the header of the request.

    The stacktrace of the exception of 9000 "BOLD" is as below.

    No detail message

    net_rim_cldc (4AAABCA5)

    DataBuffer

    ensureBuffer

    0 x 3690

    net_rim_cldc (4AAABCA5)

    DataBuffer

    To write

    0x3C52

    net_rim_crypto_1-3 (4AAAC974)

    TLSOutputStream

    To write

    0x45C7

    net_rim_cldc-1 (4AAABCA5)

    DataOutputStream

    To write

    0x221D

    net_rim_os-2 (4AAAC894)

    ClientProtocol

    0x1A1D

    net_rim_os-2 (4AAAC894)

    ClientProtocol

    writeRequest

    0 x 1422

    net_rim_os-3 (4AAAC894)

    HttpProtocolBase

    transitionToState

    0x33D7

    net_rim_os-2 (4AAAC894)

    ClientProtocol

    transitionToState

    0x23D4

    net_rim_os-3 (4AAAC894)

    HttpOutputStream

    Rinse

    0x334C

    ....

    When I test Simulator 8300, I got EOFException.

    No detail message
    net_rim_os-2
    ClientProtocol
     
    0 x 1917
    net_rim_os-2
    ClientProtocol
    readResponse
    0x148A
    net_rim_os-3
    HttpProtocolBase
    transitionToState
    0 x 1613
    net_rim_os-2
    ClientProtocol
    transitionToState
    0 x 2335
    net_rim_os-3
    HttpOutputStream
    Rinse
    0x157E

    ...

    This code seems to work for the file with a size less than 2 MB.

    Any suggestions would be very appeciated.

    Thank you

    Itthipon

    I was able to replicate that when you use an OutputStream.  OutputStream to DataOutputStream switching enabled me to show 3 MB of data.  Please give that a try and making me know if you encounter other problems.

  • HTTPS post doesn't work on device but in the Simulator

    You are looking for suggestions on why a https post works all the time on a simulator, but what installation on the device and test it works the first time but the time the rest of the time after that.

    Here is most of the code, this came from another sample written and posted on BB forums.

    I tried with the removed ConnectionTimeout, and with it the value of different values.

    As mentioned it works the first two times, maybe even just the first time and not after once using the real device.

    Any thoughts would be greatly appreciated.

    private String of doTransaction (postString String)]
    {
    String [] ccResponse;
    HttpsConnection SC;
    OutputStream outStream = null;
    String url = "https://url/; ConnectionTimeout = 60000 "; just removed the url to view the code

    Try
    {
    HC = (HttpsConnection)
    Connector.Open (url, Connector.READ_WRITE); Set the POST request method
    hc.setRequestMethod (HttpsConnection.POST);
    hc.setRequestProperty ("Content-Type", "application/x-www-formulaires-urlencoded");
    hc.setRequestProperty ("Content-Length", Integer.toString (postString.length ()));

    outStream = hc.openDataOutputStream ();
    outStream.write (postString.getBytes ());
    outStream.flush ();
    outStream.close ();
    Get the answer back to the servlet
                
    hc.getResponseCode ();
                
                
    InputStream is = hc.openDataInputStream ();
    LineReader lr = new LineReader (is);

    While (true)

    {
    Try
    {
    Byte [] arr = lr.readLine ();
    String $thisline = new String (arr);
    Dialog.Inform ($thisline);
    If (! thisLine.endsWith ("="))
    {
    Dialog.Inform ("splitting");
    If ends with =, not split
    String [] splitLineResponse;
    String separator = '=';
    splitLineResponse = split (new String (arr), separator);

    String responseItem = splitLineResponse [0];
    String responseValue = splitLineResponse [1];

    There are a lot of topics split here.

    }
                        
                            
    }
    catch (e EOFException)
    {
    Reached end of file
    Dialog.Inform ("expressions of folklore Exception" + e.getMessage ());
    break;
    }
    }
    HC. Close();
                
    }
    catch (Exception ex)
    {
    Transaction time-out
    Dialog.Alert ("TransException" + ex.getMessage ());

    }
    postData = null;
    Return ccResponse;
            
    }

    How is it a failure?

    My guess is that the problem is that the unit does not have a connection. Without any connection parameter, it will connect via MDS if the device is a network of MDS; If not, he'll probably try direct TCP. In the latter case, it will fail unless the APN settings are set correctly. The carrier may also have something to say about it.

    I suggest you read the post-it by Peter Strange and also check out the videos of transport network that RIM posted. They provide a lot of information on how to establish connections.

Maybe you are looking for

  • iCloud no longer works with Outlook 2016

    Someone at - he had problems with icloud and Outlook2016 after 10 last updated windows? Any suggestions on how to sync again?

  • Satellite L30-101 - screen is black

    Hello I don't know what is happening here, but at the start of the laptop screen is black the ilight power is on and I can hear the boot HARD drive, but the screen is blank all ideasThank youSarra

  • Satellite P750 keeps closing

    Hi guys, I am a newcomer. My friend, but I have a Toshiba Satellite P750 (PSAY3A - 05S 001) and had trouble with her then she asked me if I could fix it and I accepted his favor. According to her, the laptop cannot boot on the windows that display an

  • Activation with M-series USB-6289 on-board signal conditioning

    I currently use the series M-6289 to monitor a few analog voltages.  I noticed that she has integrated signal conditioning hardware.  How to enable and configure this upward?  Is it through S/W or H/W? V/r, Chris

  • What is the operating system that is used for a Wii?

    Please could you help me because I write a report for my work of college on the Wii and I need to know what is the operating system, but I can't find any decent site :) Please send me the answer to the * address email is removed from private life * t