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,451 Views)

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

0 Kudos
Message 2 of 3
(3,343 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,331 Views)