Comments
2 comments
-
Hi @tekpmb
Strange that it's not documented in the SDC specific command line documentation, but you can add the trustservercertificate parameter to the server switch in the xml file I suspect
https://documentation.red-gate.com/sc/using-the-command-line/switches-used-in-the-command-line
/server1:"Widget_Server\SQL2008,<port>;encrypt=true;trustservercertificate=true"
-
To instruct SQL Data Compare to trust the server certificate when using the /Argfile option with an XML file, you can include the necessary settings within the XML configuration.
Add comment
Please sign in to leave a comment.
I was able to sync data between two databases using the GUI and getting started with automating SQL Data Compare. There is a checkbox in GUI to "Trust server certificate" and the sync worked. Now I am trying to use /Argfile with an XML. How to I tell it to trust the certificate?
Is there a complete list valid switches and options? Documentation is very limited.
Thank you!