This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Jan 22, 2015, 5:01 PM
16 Posts
topic has been resolvedResolved

kyr tool error

  • Category: Domino Server
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: ssl kyrtool
  • Replies: 5

I've run into a problem with the kyrtool.

it tried importing the certificates to the keyfile one by one (I got a no private key found error 0x1731...when I tried them in one file ) and got the following error when I tried to import the private key, any ideas?  

Using keyring path 'c:\program files (x86)\ibm\Notes\data\keyring.kyr'
Cannot open input file c:\program files (x86)\ibm\data\ssl\server.key
No private key found in the input file
ReadPEMPrivateKey returned error 0x1731


The cryptographic key was not found


C:\Program Files (x86)\IBM\Notes>

 

 

Jan 25, 2015, 3:40 AM
94 Posts
What does '-v' show?
The more '-v's you add, the more information you'll get.

And I'm sure that you've already checked this, but your first path is ... ibm\Notes\data\... and your second path is ...\ibm\data\ssl\.,,,  without the "Notes" component. Are both of those paths correct?

Using keyring path 'c:\program files (x86)\ibm\Notes\data\keyring.kyr'
Cannot open input file c:\program files (x86)\ibm\data\ssl\server.key
Jan 28, 2015, 12:33 PM
16 Posts
kyr tool error

Hi Dave, thanks for your reply.  yes you were correct, 2nd path was incorrect.  I found that if you're getting an 0x1731 error it's likely it's not finding the file....after getting about 17 of them!

If anyone is searching the kyrtool, I had to load the certificates in one by one, it wouldn't accept them in one big text file...oh and I had to use the 32 bit kyr tool despite my server being 64 bit!

i.e.

C:\NOTES>  kyrtool.exe import certs -i c:\temp\carootcert.crt -k c:\temp\mykeyring-sha2version.kyr
C:\NOTES>  kyrtool.exe import roots -i c:\temp\caIntermediate1.crt -k c:\temp\mykeyring-sha2version.kyr
C:\NOTES>  kyrtool.exe import roots -i c:\temp\caIntermediate2.crt -k c:\temp\mykeyring-sha2version.kyr
 type of thing

Jan 28, 2015, 12:33 PM
16 Posts
kyr tool error

Hi Dave, thanks for your reply.  yes you were correct, 2nd path was incorrect.  I found that if you're getting an 0x1731 error it's likely it's not finding the file....after getting about 17 of them!

If anyone is searching the kyrtool, I had to load the certificates in one by one, it wouldn't accept them in one big text file...oh and I had to use the 32 bit kyr tool despite my server being 64 bit!

i.e.

C:\NOTES>  kyrtool.exe import certs -i c:\temp\carootcert.crt -k c:\temp\mykeyring-sha2version.kyr
C:\NOTES>  kyrtool.exe import roots -i c:\temp\caIntermediate1.crt -k c:\temp\mykeyring-sha2version.kyr
C:\NOTES>  kyrtool.exe import roots -i c:\temp\caIntermediate2.crt -k c:\temp\mykeyring-sha2version.kyr
 type of thing

Feb 19, 2015, 9:29 PM
90 Posts
Just ran into this...
You have to import in the private key using import keys in the kyrtool in addition to the import certs.

Howard
Mar 4, 2015, 10:59 AM
16 Posts
Access to data denied

Just in case anyone else has the error 'Access to data denied', it's because you added a password to your csr file (where you added your website name etc...).  It also have me an error of  'SECIssUpdateKeyringPrivateKey returned error 0x0103'  - seems like I was the only numb nut to do this.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal