title: how to export private key from Godaddy certificate and use with Apache SSL
body: <p>I purchased a Godaddy Certificate, I correctly installed it on my Mac Server, so now I see 2 entry within Keychain Application:</p>
  
  <ul>
  <li>Go Daddy Secure Certification Authority</li>
  <li>mydomain
  
  <ul>
  <li>mydomain (private key)</li>
  </ul></li>
  </ul>
  
  <p>Then I added the certificate (mydomain.com) to a VirtualHost of httpd.conf file, so:</p>
  
  <pre><code>&lt;VirtualHost *:443&gt;
       DocumentRoot "/Library/ApacheTomcat/apache-tomcat-6.0.33/webapps/MyServerAppName"
       ServerName mydomain.com
       ErrorLog "/private/var/log/apache2/mydomain.com-error_log"
       CustomLog "/private/var/log/apache2/mydomain.com-access_log" common
       SSLCertificateFile /etc/apache2/mydomain.cer
       JkMountCopy On
       JkMount /* ajp13
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Then, I guess, I also need the private key file, otherwise Apache fails to handle the certificate.
  How to do this? I can save the certificates from Apple Keychain into .pem and .cer file.</p>