title: Importing certificate to a keyring
body: <p>Using a new utility kyrtool, I've been trying to create keyring and import the particular domain certificate into it.</p>
  
  <p>Certificate has been issued by RapidSSL. It's an SHA2 certificate issued for "*.domain.tld".</p>
  
  <p>First of all I've created a new keyring file:</p>
  
  <pre><code>kyrtool create -k C:\path\keyring.kyr -p password
  </code></pre>
  
  <p>Then I've converted my pfx certificate to pem in opnessl:</p>
  
  <pre><code>openssl pkcs12 -in certificate.pfx -out certificate.pem
  </code></pre>
  
  <p>Then I've tried to import my PEM into the new keyring:</p>
  
  <pre><code>kyrtool import all -i certificate.pem -k C:\path\keyring.kyr -v
  </code></pre>
  
  <p>And an error occured:</p>
  
  <pre><code>Using keyring path 'C:\path\keyring.kyr'
  No private key found in the input file
  ReadPEMPrivateKey returned error 0x0495
  Invalid arguments
  </code></pre>
  
  <p>My PEM certificate contains both -----BEGIN RSA PRIVATE KEY----- and -----BEGIN CERTIFICATE----- blocks.</p>
  
  <p>Any idea?
  Thanks, JiKra</p>