Using HTTPS and SSH from LabVIEW VIs

I am currently using custom VIs, built over the TCP/IP LabVIEW VIs, to access to a distant machine with the TELNET protocol, and to access a HTTP server with the HTTP protocol.
In a near future, I will have to use more secure protocols such as SSH and HTTPS, that my VIs will no longer support.
Does the NI Internet toolkit support SSH and HTTPS?
And if it doesn't, what are the solutions?
Using PuTTY with a command line for SSH is suggested by NI and I have already tested this successfully.
Have someone other solutions and an idea for using HTTPS?
I'm currently using LV 6.1.

Hello,
You could find other solutions on this forum thread : http://forums.ni.com/ni/board/message?board.id=170​&message.id=77865&requireLogin=False
Regards,
Isabelle
Ingénieur d'applications
National Instruments France

Similar Messages

  • Transfer data from a mobile to a server using https or ssh connection

    Hi there,
    As a newbie...I would like to know how can I transfer data from my mobile phone to my server using a 'secured' connexion. I already tried to find a FTP client application but I didn't find any, just some applications to do https and ssh connexion.
    Thanks in advance for your help.
    Regards
    Pascal Delto

    Hello all!
    I am sure this question gets asked a lot but it is one that haunts me to this day. Here is the scenario:
    - I have 30 2012 SQL Express instances. One in each store.
    - I have 1 2012 SQL Standard instance on a corporate server that has access to each of the individual store servers.
    What is the best way to take sales transactions from each of the store servers and merge them into the corporate server so that my stores can run reports at the corporate level?
    Any information or direction would be so appreciated.
    Thank you!
    Patrick
    Patrick Regis
    Create linked server to connect to remote DB. Read
    Connect to remote instance
    Add a linked server
    Many Thanks & Best Regards, Hua Min

  • Transfered files from Mac Pro to iMac OS10.7. Copied bookmarks using "backup and restore" from "Organize bookmarks". File copied correctly as bookmarks 10-10-11.jsom, but would not restore on new iMac.

    Transfered files from Mac Pro to iMac OS10.7. Copied bookmarks using "backup and restore" from "Organize bookmarks". File copied correctly as bookmarks 10-10-11.jsom, but would not restore on Firefox on new iMac.

    Firefox 2 versions use the file bookmarks.html to store the bookmarks.
    See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    See also http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    With Mac OS X 10.4 you can use Firefox 3.5 or 3.6
    * http://www.mozilla.com/firefox/all.html
    * http://www.mozilla.com/firefox/all-older.html
    *http://www.mozilla.com/en-US/firefox/system-requirements.html
    *http://www.mozilla.com/firefox/system-requirements-v3.html

  • Is it possible to manipulate and use variables and parametres from a .dll converted progr. (C++) with a labview written progr.

    Hi fellows
    I got a program written in C++ and I want to comunicate with it and use some parametres and variables from it, to handle these with my labview written program.
    I just want to be shure if it is possible??
    Zamzam
    HFZ

    Hi Zamzam,
    You'll find an example at National Instruments\LabVIEW 8.2\examples\dll\data passing\Call Native Code.llb\Call DLL.vi
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • ActiveX and IE using https and TLSv1

    I'm starting with the ActiveX - Internet Explorer example found in C:\Program Files\National Instruments\LabVIEW 2009\examples\comm\ axevent.llb.  In the Navigate2::URL parameter, I can type in the IP address of a device I'm trying to talk to and it will serve up some web pages.  In the WebBrowser in the front panel, I can see the pages, fill in form data and send it, and get stuff back (in the form of more html pages).  My problem is that I need to automate this interface, and in the final app, the server is going to send me XML, and not html.  So, what I want to do is to perform GET/POST commands, capture the data, parse/analyze the XML, repeat.  Also, this is all done in secure mode.  In the example above, I can type in https://xx.xx.xx.xx and after the login, I'm in.  I see the opening (secure) page in the webBrowser on the front panel.  What I need is
    (1) to understand how to send in more specific commands.  Right now, after I type in the initial https link, my labview code really isn't doing anything.  It's all in the front panel's webBrowser.  I need to be able to send in specific GET commands, like GET https://xx.xx.xx.xx/setupRfData.asp HTTP/1.1.  And specific POST commands like POST https://xx.xx.xx.xx/setupRfData.cgi HTTP/1.1.  What I'm not sure about is how to pass in those parameters to the ActiveX Navigate(2) command.  I see the API at
    http://msdn.microsoft.com/en-us/library/aa752093(VS.85).aspx
    but it's not really clear how use it with LabVIEW.
    (2) In the POST commands, I have to send in data, which I assume goes in the POSTdata field, but the format is unclear.
    (3) And the Headers field also is where I'd like to specify certain things like "Connection::Keep-Alive"
    (4) Finally, this may not have been clear above, but I need to send this device http commands, and it can send me either html or XML based on an input parameter I provide when I send it commands.  If I say "html" then I would just control the device via the web pages it sends back to me.  When it sends back XML, however, instead of a webBrowser, I could probably just have the XML displayed in an edit box?  My concern, though, is that the WebBrowser is what is taking care of all the secure handshaking for me.  How do I keep the link established and still receive/analyze XML?

    BCho wrote:
    Hey mrbean,
    To address your first question; the web page continues to update even though the VI may not be running because
    when you did run the VI you loaded the script for that page. This script continues to loop even though the VI
    is not running. With an IE ActiveX container, it is a lot like you have a normal IE page open; it just happens
    to also be a part of your front panel. If you negative, say, www.ni.com, you will notice that even though
    the page is fully loaded and IE is not still attempting to load the page, it still 'updates'. You may also notice
    that links still work, even though the VI is not still running. So, one way to think about and IE ActiveX
    container is like a normal IE window that happens to also be in your VI.
    In regards to how to send specific GET and POST commands; unfortunately, I am not very familiar with the ins and
    outs of that particular ActiveX control. Judging by the msdn page that you pointed out, I would make the same
    assumptions about GET and POST transactions. If you don't wire anything to the POSTData input you do a GET
    transaction.
    What happens if you send the entire URL https://10.4.17.1/setupRfData.axp HTTP/1.1? If you were
    to do this same routine in a normal IE window, what URL would you use? What happens if you do include the HTTP/1.1? How about if you include it, do you get a different response? Here is a Thread that gives a little bit of relevant information.
    When I type in the entire URL above, I get a message saying "The Web page you are viewing is trying to close the window (yes/no)".  I've read several forums about this, but most make mention of java script updates and IE7.  I'm using IE6 and I'm not doing any scripting.  I did see another post that said that it's possible I need to specify the "Referer", so I'm going to try that shortly by adding it to the Headers input of the Navigate2.
    My underlying problem is that the in the current app, the user (me right now) only sees the html pages that the server is serving up (via https/TLSv1).  With that interface, you can enter info into various fields and send them to the server, or click a different tab which behind the scenes performs a GET, but no one has to type any of that.  In our app, we're trying to replace the IE with a labVIEW ActiveX IE and manually build/send these commands so that we can create automated sequences for a production test.  Therefore, I've used a sniffer (WireShark) and have determined what commands/fields are going across the ethernet to the server (and coming back). 
    As I mentioned, I tried sending the fully qualified GET message ( URL https://10.4.17.1/setupRfData.axp HTTP/1.1) and saw the ...trying to close message.  Assuming I can get past this, my next issue is accessing the response information coming back from the server.  Right now it's html, but in the final product it's going to be XML.  (1) What is the LabVIEW Invoke Method that allows me access to the response information and (2) Is there a way to setup an Event that would notify me when a response came in.  (3) Can the same WebBrowser that currently displays html be used to display XML

  • Consuming an External Web Service using HTTPS and WS Security

    Hello everyone,
    I'm having a problem setting the security information in a SOAP header using a generated ABAP Client Proxy to consume an external web service that requires a User ID and Password in the Header section of the SOAP message.  I need to use HTTPS. I'm on a WAS 7.01 SP08 system so from my readings, SAP is supposed to be able to add the username and password into the header section of the message.  I can't seem to get SAP to add this information added to the header.
    Here are the steps that I have taken to set the security values.
    1) Created the client proxy from the WSDL in SE80.  Basic Authentication on the Configuration tab was turned on automatically.
           Note, Transport Security is set to None.  I cannot change it.
    2) Created an outbound set user name profile in transaction WSPROFILE with the appropriate username and password.
    3) Added the profile to the default port in transaction LPCONFIG as an outbound under the WS Security section of the screen.
    When I called the external Web Service, I got back the following error message:
    com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5509E: A security token whose type is [http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken] is required.
    So, after reading through this Forum, I saw that I needed to use the SOAMANAGER.  I set up a Proxy in the SOAMANAGER and manually created the Logical Port.  This was the only way I could figure out how to set the Authentication Settings in the Logical Port to "User ID / Password".  I then entered the User ID and Password.
    However, I am still getting the same error message.  I feel I am close but missing some small configuration to tell SAP to use WS Security with a Username token.
    I'm not sure what I'm doing wrong, so any help would be appreciated.
    Thanks,
    Stephen

    I had this error again so I thought I would post my solution:
    The issue is SAP needs to know the certificates being used by the web site being called.  These certificates are automatically installed in your browser but need to be manually installed in SAP.  This is what I did:
    How to find/install new certificates
    Make sure you run Internet Explorer as an Administrator so you can export the certificates
    Go to the web site that SAP is trying to call in Internet Explorer
    Double click on the lock in the address bar
    View certificates
    Find the certificates that are being used
    Tools --> Internet Options --> Content --> Certificates
    Click on the “Trusted Root Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Click on the “Intermediate Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Go to STRUST in SAP
    Import the Certificates in the “Anonymous” or “Standard” SSL client
    Save
    RESTART the ICM via t-code SMICM  <-- Critical!!!
    Test

  • Running two Eurotherm 3216 temperature controllers using the driver available from Labview

    Hi All,
    I am trying to control two Eurotherm 3216 temperature controllers using the driver provided by NI at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=7F14CDCB24923797E04400144F1EF8.... Specifically, I am using the "Temperature Control Monitoring" example.
    I have been able to operate a single temperature controller using this code. However, I need to operate two controllers, and I havent been able to modify the code appropriately to do it.
    I initially tried just repoducing the entire code and running it but that provides me with an error. However, if I run the code while using "highlight execution" it works just as I need it to...except to slowly for my purpose.
    If anyone has any insight as to how I may run both controllers, I would really appreciate it.
    Thanks

    Here something’s to try.
    1)      Make sure both controllers have RS485 comms modules installed
    2)      Connect both controllers in Daisy Chain configuration using the EIA485 instructions from Page 16 of the Manual you mentioned.
    3)      Ensure both the KD458 and the 3216 controllers have identical  Comms configurations. ie Baud Rate, Parity etc
    4)      Verify your setup:  In the "Temperature Control Monitoring" example” change the Unit Address, Baud Rate, Parity and Break Length  to match the 1st controllers values. Verify that you can communicate with the 1st controller.
    5)      Using the Same "Temperature Control Monitoring" example”, NOT a second copy, change the Unit Address, Baud Rate, Parity and Break Length to match the 2nd controllers values. Verify that you can communicate with the 2nd controller.
    Comms problems are difficult to fault find so be methodical and you will succeed.

  • When we Use HTTPS and HTTP

    Hi Frnds,
    when we Use HTTP's and HTTP.
    Can anyone explain...
    Regards,
    Raj

    Hi
    A general defination of HTTP and HTTPS would be :
    HTTP
    HTTP is the protocol that a web browser such as Internet Explorer uses to request a web page from a web server.
    It can be "implemented on top of any other protocol on the Internet, or on other networks. HTTP only presumes a reliable transport; any protocol that provides such guarantees can be used."
    HTTPS
    HTTPS is an encrypted form of HTTP used for sending sensitive data like credit card numbers between the browser and the web server. This is also sometimes called Secure HTTP or SSL (which stands for Secure Sockets Layer).
    All XI runtime components using the HTTP protocol support the encryption of the HTTP data stream by means of the SSL protocol, also known as HTTPS. HTTPS data streams are completely transparent to the Exchange Infrastructure.
    To enable an HTTPS connection, two steps are required:
           1.      Both parties of an HTTP connection (that is, the HTTPS client and the HTTPS server) must be technically enabled.
           2.      The internal XI communications and the messaging communications must be configured in XI to use these HTTP connections.
    In addition, for certain adapters you can enforce HTTP security for incoming messages.
    Technically Enabling SSL
    Whenever a hardware or software component is to be enabled for SSL, the client and the server part of an HTTP connection have to be enabled differently. Moreover, the technical configuration for HTTPS is different for XI ABAP and J2EE components. For more information, see Transport Layer Security.
    HTTPS comes in two flavors, both ensuring the confidentiality of data sent over the network
    ●      Server authentication
    Only the HTTP server identifies itself with a certificate that is to be verified by the client.
    ●      Client authentication
    Additionally, the HTTP client identifies itself with a certificate that is to be verified by the server.
    Hope this clears your doubts
    Thanks
    Saiyog

  • How do I get CS6 to not distort color when using Lion and printing from Epson R2880?

    Ever since I up-graded to CS5 , the color has been distorted.  It is not an Epson Lion problem because printing from preview or iPhoto the color is perfect.
    Adobe has known about this problem since January 23, 2012.  Their help people have taken over my computer for hours at a time and not been able to discover the source of the problem
    I thought they might have fixed it with CS6 but no luck  I chose use CS4 settings because CS4 had worked.
    I printed using Printer Manages Color and color matching, epson color.  I selected the correct media.  The prints came out dark.  The yellows turned green and the greens turned blue/green, reds became dull and blues a bit dark.
    This is most upsetting because I cannot afford to buy a new printer and ink.  Also I should not have to buy new equipment because Adobe cannot make their product work correctly.

    cmszinnia wrote:
    If the printer prints colors accurately from Lion apps,which it does, then the problem is in Adobe.
    Uh...ok...then the REST of the FREE world is going down the tubes because obviously, Adobe has screwed up?
    Some of us are using LR4 and CS6 to print and getting accurate and excellent results with Lion (10.7.3) so the question begging for an answer is why can't you?
    Read very carefully what Chris wrote...the odds are REAL GOOD you are NOT using the correct settings...but since you don't bother to show or explain the EXACT settings you are using when printing, we'll never know. Will we?
    If the vast magority of the user base is NOT having an issue, to what do you attribute the disconnect? User Error is the single most likely result...
    You want help? Or do you want to argue?
    I know a little bit about printing and I seem to be able to print with zero issues on a wide variety of Epson printers...you wanna place blame or do you wanna learn how to fix the problem? (clue, the odds are it isn't Adobe nor Epson leading to the problems, it's you bud).

  • Can't use https and Marsedit to edit a user or group blog

    Hello,
    I wanted to use exclusively https to serve our blogs (group and users).
    On Marsedit the following settings works:
    Home URL = http://servername+/groups/+groupname/weblog/
    RPC URL = http://servername/RPC2
    Blog ID = groups/groupname/weblog
    The following hhtpS settings do not work:
    Home URL = https://servername+/groups/+groupname/weblog/
    RPC URL = https://servername/RPC2
    Blog ID = groups/groupname/weblog
    The solution seems to serve the blogs on http (80) and https (443)
    Regards,
    Thibault

    You can serve blogs and wiki exclusively through SSL and use Marsedit.
    If you have a proper certificate it will work "out of the box".
    If you use a self-signed certificate you just need to make sure it has been added to your keychain.
    Then Marsedit can initiate properly the encrypted communication.
    To add a self-signed certificate, just access your page with Safari using https:// .
    You will have a warning dialogue saying the certificate is not trusted blah blah..
    Just make sure you add permanently this certificate in your keychain by trusting it.
    Hope it helps.

  • Want to use pushViewController and segues from UINavigationController in AIR app on iOS

    Ok, this might be a long shot, but here goes.
    My iOS AIR app includes a bunch of native screens defined in a storyboard.  I have them included by putting them into a native (static) framework, including that framework in an ANE, and adding code to instantiate and add the various ViewControllers to the screen.
    I can add a ViewController as a child and get its view to show on the screen with the following obj-c code in my ANE:
    [[[[UIApplication sharedApplication] keyWindow] rootViewController] addChildViewController:controller];
            [[[[UIApplication sharedApplication] keyWindow] rootViewController].view addSubview:controller.view];
            [controller didMoveToParentViewController:[[[UIApplication sharedApplication] keyWindow] rootViewController]];
    However, some of the views have child views that use segues and the push stack from UINavigationController.  When these screens try to load, I get the following error:
    Apr 21 13:50:43 raspberry LKW_Smash[7703] <Error>: *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Could not find a navigation controller for segue 'MemberOptionsSegue'. Push segues can only be used when the source controller is managed by an instance of UINavigationController.'
    So I attempted to get access to the app's UIViewController, and push the new ViewController onto the stack with the following code:
    [root.navigationController pushViewController:controller animated:YES];
    But root.navigationController is nil!  It looks like the app doesn't have one!
    So after all that, my question is this: How do I create an AIR app that includes a UINavigationController and is not simply just a single-view app?

    Sync the contacts on your Mac with Google Contacts as well... There is no need to involve iCloud.
    Perhaps you should take a look at Google's help pages.

  • Can I use Ethernet and stream from iPad.

    I have apple tv2 hooked thru Ethernet cable and all of a sudden I cannot use AirPlay to stream from iPad. Will it not stream if ethernet cable is hooked to apple tv?

    If you can access your wifi network with another device while standing close to your ATV2, then you must have something wrong in the ATV2 wifi setup.  My router is on the floor below where my ATV2 resides and it's also at the other end of the house.
    I've found that sometimes when I'm changing the password to access my wifi home network, I have to enter it 2 or 3 times before it will work. The only reason I find myself doing this chore is that for no real good reason, I have 2 networks in my home and one of them seems better for doing air play.

  • How to print directly to printer using USB and Bluetooth from Java (J2ME) app.

    I write mobile phone apps in Java (J2ME). I want to print directly to a printer via USB and via Bluetooth. I cannot use a print job with the Java available to me. Once upon a time you could just send text and print control characters to a printer. I would like to be able to do that again. Alternatively could you provide a 'skeleton' data stream into which I could insert my code to produce what is sent to the printer when a print job is used with Java on a laptop or PC. I just want to sent simple text with a little formatting. 

    Hi,
    As far as printing to devices not all devices support Bluetooth. Many devices support Bonjour protocal, IPP. The main print port is 9100. Additionally you can see what IO protocols are supported on a product by looking at the EWS (Embedded WebServer) there should be a networking page with that information.  Port 9100 is your basic print port and different devices will support different formats (PDF, JPEG, PCL5, PCL6). If there is an API you can find (i am not familiar with J2ME availible calls, then you can use those and send the data to port 9100. Again that is the basic path most printers will accept. not all devices support bonjour not all device support bluetooth etc... Hope that helps and good luck.
    I am an HP Employee.

  • Using users and groups from LDAP in ADF application

    Hi there,
    I'm using WebLogic Server 10.3.5.0 and JDev 11.1.2.3.0.
    I configured my WL server to use the users and groups defined in my LDAP server (they display when I select the Users or Groups tab). So this works fine (I think).
    Now I want to use 1 group, let's call the group ApplicationGroup, and all it's users to give them access to my ADF Application.
    But I can't find proper/up-to-date info about how to do this.
    I tried 2 major things:
    1) I configured ADF Security to use Authentication and Authorization. Defined an Enterprise Role with the same name as in my WL server (so ApplicationGroup) then defined a
    Application Role with a custom name and added the Enterprise Role to it. That Application Role I gave access to all my TF's and Web Pages. When I deploy this, It just doesn't work (Migrate Users and Groups is not checked).
    2) Used the Authentication option in the ADF Security and the rest is the same as in 1). This works +-, I can login with all users so the role mapping isn't configured right I guess?
    Any help or documentation that could help me?

    Since we aren't using EM I had to find an other way. And I found it.
    In web.xml ADF Security (I suppose) automaticly adds 'valid-users'. In my weblogic.xml I added my enterprise role as a principal to 'valid-users' and this works for me.
    Thanks for the help.

  • ELVIS 1 AND ELVIS II LABVIEW VIs COMPATIBILITY

    I am currently working on a project that was previously using Labview (8.5.1) vis built for elvis I, we have now moved on to Elvis II and are experiencing problems that are believed to be steming from the differences in channel configurations. Could some one be as kind to avail channel configurations for both elvis I and Elvis II and what modifications we may need.

    Hi,
    First, I want to reference you to the support page for the NI ELVIS II and its help manual.
    NI ELVIS II
    http://sine.ni.com/psp/app/doc/p/id/psp-458/lang/en
    NI ELVISmx Help
    http://digital.ni.com/manuals.nsf/websearch/825085B4A34566818625745F006DF0F8
    I want to verify what exactly is going on in your program when you upgraded to NI ELVIS II.  Are there any errors you are seeing?  Are you able to get it working in Measurement and Automation Explorer?  Also, what drivers are you currently using?  
    Regards,
    Jordan F
    National Instruments

Maybe you are looking for

  • Using AAD as a user-database

    I'm wondering if it's possible to use Windows Azure Active Directory (WAAD) as a standard "user-database"? Let me explain.. We currently have a standard, "home-built" user registration system build on top of SQL server, MVC, etc. The users in this da

  • Item Level Security in Document Libraries

    Hi all, I need to set up an Item level Security in Document Library in SharePoint 2007. Does this requirement have any OOTB Feature in SharePoint or through CUstomization is the only road.I have researched and found that it can be done using coding.B

  • How do I get permanently rid of unwanted addresses from Mail?

    How do I get permanently rid of unwanted addresses from Mail?

  • Sync: what exactly does it do?

    The generic articles on Syncing don'y tell me EXACTLY what it means to Sync two machines.  I just foiund out the hard way.  I reorganized and deleted Bookmarks on my computer, plugged i my iPhone to Sync with the computer, but the iPhone dominated an

  • Security Implications of  PUBLIC on packages

    What are the security implications if a commercial software package that we use requires that dbms_pipe and dbms_lock be granted to PUBLIC? This seems pretty dangerous to me, or are there some controls that make this not so dangerous? Thanks,