LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LABVIEW ConfigSSL.VI in HTTPClient.VI not able to call the CA certificate file while calling a REST API

Hi All,

 

I am a beginner in LAbVIEW and need some help here.

 

Objective : Call a GET REST API using configssl.vi in HTTPClient.vi.

 

Problem:

I am getting error message - "LabVIEW: The certificate path or CA information of the local host is invalid" , I googled this error and found out that its something related to the CA cert file. so i did some changes to the CA cert file present in location "C:\Program Files (x86)\National Instruments\Shared\nicurl" based on suggestions provided in below links (like updating the default LABVIEW CA cert file with my server CA certs chain.) but no progress has been made here and i am still getting the same error. 

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019P6VSAU&l=en-IN

https://forums.ni.com/t5/LabVIEW/HTTPS-Certificate-CA-Information-of-the-local-host-is-invalid/td-p/...

 

Attaching the screenshot of the error message and block diagram that i am using.

 

Error Message->

 

mrawat77_0-1715754053852.png

 

Complete block diagram-

 

mrawat77_1-1715754313616.png

 

 

Can anyone please help here i am completely stuck at this point.

 

Thanks in advance.

 

 

 

 

 

0 Kudos
Message 1 of 4
(645 Views)

Start by removing the quotation marks from the path constants. Does that make it work?

0 Kudos
Message 2 of 4
(626 Views)

yes, i have tried both the ways but it is still failing with the same error.

1. without quotation marks 

2. with quotation marks 

 

0 Kudos
Message 3 of 4
(587 Views)

 

Tried using the absolute path no quotes and whitespaces but still getting the same error. 

 

 

mrawat77_1-1716182334798.png

 

0 Kudos
Message 4 of 4
(523 Views)