From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WebDAV SSL configuration

Hey guys, here is my problem:

 

I'm trying to connect my web server (QNAP NAS TS-251) using WebDAV. Using the unsecured way, everything works fine and I'm able to get file from the server:

lv_ask_1.png

Problem appears when I try to connect using SSL WebDAV connection. Get.vi produces error 363506 which means, something is wrong with certificate. Firstly, I gave the default certificate provided by QNAP. Secondly, I tried to make my own certificate using OpenSSL. Both ways ending with the same error:

lv_ask_2.png

I'm using LV 2015 SP1 (32-bit). Thanks for any ideas 🙂

0 Kudos
Message 1 of 3
(3,237 Views)

Have you tried highlighting execution to see where the error actually occurs?

0 Kudos
Message 2 of 3
(3,129 Views)

Yes, I did. The error occured exactly in Get.vi. Anyway....

 

I have learned, that when using self-signed certificate, "verify server" option needs to be set to False. Moreover, there don´t need to be any certificate provided, because you simply can´t verify certificate, which isn´t signed by third authority.

With this setting, the communication is secure, but the security level depends on your password (connected to name).

 

 

Message 3 of 3
(3,117 Views)