title: SVN - Server SSL certificate untrusted from post-commit hook
body: <p>I'm trying to create a post-commit.bat script so that every time someone commits, a working copy automatically updates. This is my post-commit.bat:</p>
  
  <pre><code>"C:\Program Files\TortoiseSVN\bin\svn.exe" update C:\Temp\PROD --non-interactive --trust-server-cert --username admin --password myPassword
  </code></pre>
  
  <p>This is the error message I'm getting:</p>
  
  <pre><code>svn: E230001: Unable to connect to a repository at URL
  'https://svn.mydomain.com/svn/prod/trunk'
  svn: E230001: Server SSL certificate untrusted
  </code></pre>
  
  <p>It looks like the --trust-server-cert option is ignored for some reason. Interestingly, calling the batch file from cmd window works fine.</p>
  
  <p>I'm using Subversion Edge server and TortoiseSVN client on Windows Server 2008.</p>
  
  <p>Anybody has any ideas what I'm doing wrong? Any help would be appreciated.</p>
  
  <p>LEC</p>