Aug 13, 2015, 9:04 AM
310 Posts

KYRTOOL error - SECIssUpdateKeyringPrivateKey returned error 0x0720 - Syntax error in OID

  • Category: Security
  • Platform: Windows
  • Release: 9.0.1
  • Role: Administrator
  • Tags:
  • Replies: 4

It's time to renew my expiring SSL certificates, and as I walk thru the process described  here -> , I'm still receiving KYRTool error "KYRTOOL error - SECIssUpdateKeyringPrivateKey returned error 0x0720" when importing the certificate(s) in step 6.

My first attempt in November I also received this error (described here) ->

..but no-one has ever come back with the actual fix or description of what I'm doing wrong.

So, what am I doing wrong?

Aug 13, 2015, 12:13 PM
191 Posts
Looks like some component of the certificate is bad
Try running this OpenSSL command on the certificate:

OpenSSL> x509 -in c:\temp\keys\server.crt -text -noout -nameopt "esc_2253, esc_ctrl, esc_msb, utf8, dump_nostr, dump_der, use_quote, sep_comma_plus_space, space_eq, oid, dump_unknown"

This causes portions of the certificate to be displayed with the OID instead of the default short name. The error indicates there's a problem with one or more of them. I don't have one with unrecognized OIDs, so I don't know what dump_unknown will provide, but presumably it should identify the bad ones. Here's what a portion of good data looks like:

        Version: 1 (0x0)
        Serial Number:
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: = US, = Texas, = Round Rock, =
Acme, 1.2.840.113549.1.9.1 =
            Not Before: Aug 13 14:46:11 2015 GMT
            Not After : Aug 10 14:46:11 2025 GMT
        Subject: = US, = Texas, = Round Rock, =
 Acme, =, 1.2.840.113549.1.9.1 =

An OID reference can be found here:
Aug 13, 2015, 2:47 PM
310 Posts
Thanks for the updates...

Chad - This is the same error that I received using KYRTool V1.0 back in November, but, just as in November, running the 4 KYRTool commands separately were successful.

However, I ran the command - here are my results:

        Version: 3 (0x2)
        Serial Number:
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: = US, = DigiCert Inc, = www.digicert.c
om, = DigiCert SHA2 Extended Validation Server CA
            Not Before: Aug 12 00:00:00 2015 GMT
            Not After : Nov  9 12:00:00 2017 GMT
        Subject: = Private Organization, = #13
025553, = #130844656C6177617265, = <serial>, 2.5
.4.9 = <address>, = <zip>, = US, = <State>, 2.5.4
.7 = <city>, = <my company>, = <server common name>


Graham - I'll grab IF3 and see what happens!



Aug 13, 2015, 4:41 PM
310 Posts
Installed IF3 for FP3 and it appears to have solved both issues!

Installed IF3 for FP3 and it appears to have solved both the 0x0720 as well as the subsequent crash!

We'll see what happens tonight when I try to use the new certificate!

Thanks, Graham!!