sql server - how to make sure that SSIS uses SSL to transfer data to Azure Database -
this question has answer here:
in local computer, running ssis package transfer data azure db in every hour. how can make sure ssis uses ssl transfer data. went through various online tutorials , posts didn't find how confirm ssl being used. ms azure tutorials recommends use encrypt=true , trustservercertificate=false in connection string.
my connection string ole db destitaion (azure) is
data source=tcp:aaaaaa.database.windows.net,1433; user id=dbadmin@aaaaaa; initial catalog=testdb; persist security info=true; encrypt=true; trustservercertificate=false; application name=ssis-package-bbbbb; how understand ssl being used? have install certificate in local computer?
ssl being used when encrypt=true. from: https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring%28v=vs.110%29.aspx
when true, sql server uses ssl encryption data sent between client , server if server has certificate installed. recognized values true, false, yes, , no. more information, see connection string syntax.
beginning in .net framework 4.5, when trustservercertificate false , encrypt true, server name (or ip address) in sql server ssl certificate must match server name (or ip address) specified in connection string. otherwise, connection attempt fail. information support certificates subject starts wildcard character (*), see accepted wildcards used server certificates server authentication.
if double check, can observe network traffic wireshark.
Comments
Post a Comment