Bruniii Posted January 30, 2020 Report Share Posted January 30, 2020 Hello, first of all: I'm new to web server in general (non only labview web server)! Starting from the official examples now I managed to realize very simple web server with two methods and SSL communication enabled; it' only a small test that I'm using to understand the basic, than I will create the fully featured one and implement it in my main application. I'm stuck with the authentication aspect of the web server. I was able to create a group and a permission, set a specific method to accept communication with this permission (auth with username/pw); but my understanding is that, choosing this type of authentication, only request from Internet Explorer (the only browser that's still supporting Silverlight) or from a LabVIEW client will work. In the final application the request to the LabVIEW Web Server will be performed from a client coded in python. Now I'm trying to configure a LabVIEW Web Server with API-based authentication. Unfortunately, even a simple LabVIEW client cannot successfully communicate with the server. Here you can find some screenshot of the LabVIEW WS settings, the web-based Configuration and Monitoring, the block diagram of the client and its front panel with the reply from the web server. The LabVIEW client works fine with the same GET string when the server has no authentication or the username/pw. When I try to use the API key solution the response to the client from the server is 403 - Forbidden. Any help? Thank you very much! Marco. Web server - security of the method getDynamicData. "Require API key" selected. Web server. URL Mapping of the method "getDynamicData" Web-based Configuration and Monitoring. Web services API key Block diagram of the LabVIEW client Front panel of the LabVIEW client Quote Link to comment
FixedWire Posted September 1, 2020 Report Share Posted September 1, 2020 I'm also getting authentication issues to an Apache server. Did you ever resolve this? For anyone else, this may help: cross-post: How Do I Change the Default SSL Certificate That Ships with LabVIEW? https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019YHDSA2&l=en-CA Securing Web Services with SSL https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019N27SAE&l=en-CA Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.