title: Mac Cornerstone (SVN client) how to connect to https:// with certificate
body: <p>We use a <strong>VisualSVN Server</strong> (Windows) server at work. It uses a <code>https://</code> connection with a <strong>SSL certificate</strong>. On our Windows (7 and 8) workstation machines we use TortoiseSVN to connect. On Windows I couldn't get a connection to this SVN server (at first) using a regular SVN username and password, got SVN auth error:</p>
  
  <p><code>Error during context: An error occurred during authentication</code></p>
  
  <h2>On Windows we got it working</h2>
  
  <p>So we figured out we need to supply a (Windows) credential to this domain name. Like suggested on this website:</p>
  
  <p><a href="http://tigris-scm.10930.n7.nabble.com/Issue-with-basic-authentication-td95075.html" rel="nofollow">http://tigris-scm.10930.n7.nabble.com/Issue-with-basic-authentication-td95075.html</a></p>
  
  <p>On Windows we opened <code>Control Panel &gt; Credential Manager</code> and added a new <code>Windows credential</code> to a network address (website): <strong>URL of our SVN server</strong> and a (domain) <strong>username</strong> (which is the SVN username) and my <strong>password</strong>.</p>
  
  <p><strong>Now this worked on our Windows workstations</strong>, we can connect to the SVN server with a supplied (Windows) credentials (supplied in Windows Credential Manager).</p>
  
  <h2>On Mac (not yet)</h2>
  
  <p>In Cornerstone we get a similar error:</p>
  
  <p><code>Error running context: The requested authentication type(s) are not supported</code></p>
  
  <p>Now we need this to work on our (Maverick) Mac's in Cornerstone (Mac SVN client). I've searched the net and found various articles, even on Zennaware's (Cornerstone) own support site explaining <strong>how to add the certificate</strong> to the SVN connection within Cornerstone:</p>
  
  <p><a href="http://zennaware.com/cornerstone/helpbook/pages/getting-started/client-certificates.html" rel="nofollow">http://zennaware.com/cornerstone/helpbook/pages/getting-started/client-certificates.html</a></p>
  
  <p>But the above on Mac is 'step 2' ... I need a way to (like on Windows) to first create the credentials (step 1).</p>
  
  <p>Now I know it must be done in Mac's <strong>KeyChain Access</strong> program. In this KeyChain Access program I tried to generate a certificate using the <strong>Certificate Assistant</strong>. But I'm <strong>unable to generate certificate for an internet address</strong> (our svn server) and <strong>provide my own username and password</strong> for this SVN server. </p>
  
  <p>I've played around with <strong>OpenSSL</strong> on the command-line to somehow 'save' the SSL certificate from our SVN server (for import into KeyChain Access program), but I <strong>can't provide my username and password</strong>.</p>
  
  <p>Cornerstone SVN Mac client needs a certificate (from KeyChain Access) with a <strong>public and private key</strong>. Like you see in their screenshots on their support site.</p>
  
  <p>On Mac; how do I (generate?) the certificate or credentials (like on Windows Credential Manager) for a specific SVN server address and providing my own SVN username and password?</p>