Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4472868

keytool failed to import a trusted certificate

XMLWordPrintable

    • beta2
    • x86
    • windows_nt
    • Verified



      Name: bsC130419 Date: 06/21/2001


      C:\jdk1.4\bin>keytool -import -file GTECyberTrustRoot.cer -keystore TaiCAssl.sto
      re -storepass TaiCAsslpass
      Owner: CN=GTE CyberTrust Root, O=GTE Corporation, C=US
      發照者: CN=GTE CyberTrust Root, O=GTE Corporation, C=US
      序號: 1a3
      有效期間: Sat Feb 24 07:01:00 CST 1996 直到: Fri Feb 24 07:59:00 CST 2006
      認認指紋:
               MD5: C4:D7:F0:B2:A3:C5:7D:61:67:F0:04:CD:43:D3:BA:58
               SHA1: 90:DE:DE:9E:4C:4E:9F:6F:D8:86:17:57:9D:D3:91:BC:65:A6:89:64
      信任這個認證? [否]: y
      認證未新增至 keystore 中

      Note: Windows NT 4.0 double byte version is used. In case you can't read the
      above output, the following is its meaning:
      Output line 2: issuer
      Output line 3: serial number
      Output line 4: validity
      Output line 5: fingerprint
      Output line 6: trust the certificate?
      Output line 7: the certificate was NOT added to keystore

      1. Install jdk1.4beta to the directory c:\jdk1.4 of a chinese version Windows
         NT 4.0 with service pack 4
      2. Copy any trusted certificate, say VeriSignClass1.cer, to the directory
         c:\jdk1.4\bin
      3. Fork a dos session and, at the command line, execute the following:
         c:\jdk1.4\bin>keytool -import -file VeriSignClass1.cer -keystore test.store -
      storepass test

      Then on my machine, the output says it didn't add the trusted certificate to
      the keystore, while for jdk1.3.0_02 it works.
      (Review ID: 126857)
      ======================================================================

            mullan Sean Mullan
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: