11-18-2018 12:11 PM
I have developed a simple LabVIEW Web Service (a GET API) and published it. By default, the API is accessible through HTTP on port 8080. But I would like to access the API through HTTPS, so I did below actions,
Now when I try to access the API, it is accessible but not secure. Looks like the digital certificate is not authorized. I am not sure how to authorize it? Open for suggestions.
You can access the API here "https://www.boringengineer.tk:8081/VoiceService/GetMessage"
11-19-2018 06:06 AM
I used stunnel for that.
It takes any\all (configurable) ports\connections and changes it from http to https and\or vice versa. It can do the same for FTP, etc.
LabVIEW Programming ((make LV more popular, read this)
09-28-2022 04:21 AM
Have the same issue with https://bionichaos.com/IEEG_2.html vs. http://bionichaos.com/IEEG_2.html that works perfectly well. The same CA certificate doesn't seem to work for the Web VI on the same page. Any chance to resolve this without a third party tool?
Any advice would be great, thank you!
09-28-2022 08:45 AM
Do you have the CA trust chain for your certificate? You can try adding that to your certificate after the client certificate. I believe there is a way to add CA trust certificates to the CA bundle NI uses but I don't recall where that file is located. Trying to find it now.
09-29-2022 07:51 AM
I have to read more about CA trust chains but the certificate seem to work okay on the main site, surprisingly excluding its public IP https://126.96.36.199:8081/Bionichaos/HTTP_iEEG_16Chan_V_1_2?offset=0&count=1 so use a non secure http://188.8.131.52:8002/Bionichaos/HTTP_iEEG_16Chan_V_1_2?offset=0&count=1 for now. I tried many different certificates already...
Is it possible to host LV webservices directly on IIS10 just so the functional CA certificate works on the entire service? Tried copying C:\ProgramData\National Instruments\WebServices\aws\Bionichaos to C:\inetpub\wwwroot\Bionichaos_Default Web Server\ but not able to access the webservice on the same domain https://bionichaos.com/
LabVIEW Web Services FAQ - NI Is it safe to assume that the contents of this folder would be the same as bionichaos.lvws zip file that I couldn't find?
Any suggestions would be greatly appreciated.
10-01-2022 06:37 AM
Just noticed that the SSL certificate is disappearing from http://localhost:3582/web-config/manage-ssl after reboot, any ideas why?
Thank you in advance
10-04-2022 06:36 PM
Do you mean this folder? C:\Program Files (x86)\National Instruments\Shared\nicurl
11-27-2022 04:19 AM
Or is it \National Instruments\certstore\server_certs
Still trying to find how to add a whole certificate chain
web-config/manage-ssl will only take a single .cer file