- Copy the queen’s public key, /home/beehive/certs/sampleco.pem to all clients. For this example, we will assume the client will store the public key as C:\SSL_Relate\client_cert\sampleco.pem.
-
The .NET client connection string must contain the EnableSSL and SSLTrustedCAFileName configuration information. This example adds the SSL connection information to the .NET client connection string:
String connectionString = ""; connectionString += "uid=db_superuser;pwd=db_superuser;dbname=beehive;ip=153.65.178.185; port=2406;EnableSSL=1;ssltrustedcafilename=c:\\SSL_Relate\\ client_cert\\sampleco.pem";