Note: You can also refer to the Securing Web Services with SSL Knowledge Base article
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"
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.
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://184.108.40.206:8081/Bionichaos/HTTP_iEEG_16Chan_V_1_2?offset=0&count=1 so use a non secure http://220.127.116.11: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.
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
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