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: 

SQL Server Connection using SSL

Solved!
Go to solution

I am currently using an encrypted connection to a SQL Server database. I am able to do this by  appending "encrypt=true" to my connection string and using a .pem file that I am able to apply using the Microsoft management console. 

http://www.sqlservermart.com/HowTo/Windows_Import_Certificate.aspx


Is there another way to dynamically import a security certificate or set it using the LabView Db connectivity toolkit?

0 Kudos
Message 1 of 3
(2,442 Views)
Solution
Accepted by topic author ChaseP

Almost everything you can do in the MMC plugins can also be done from the command line in Windows.  You just need to find the proper set of commands, and use the System Exec VI to implement your solution.

 

http://technet.microsoft.com/en-us/library/cc732061(v=ws.10).aspx

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 3
(2,422 Views)

This works but the only downside is I have to install the Windows Driver Kit 8.1. I am hopeing if I include the .NET 4.5 installer that certmgr.exe will still work. 

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