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

javakey does not import keys

XMLWordPrintable

    • 1.1.8
    • x86
    • windows_nt
    • Verified



      Name: rs26595 Date: 11/11/98


      C:\>javakey -ld

      Scope: sun.security.IdentityDatabase, source file: C:/\identitydb.obj

      [Signer]PaintedWordInc[identitydb.obj][trusted]
              public and private keys initialized
              certificates:
              certificate 1 for : CN=PaintedWordInc, OU=Engineering,
      O=PaintedWordI
      nc, C=US
                              from : CN=PaintedWordInc, OU=Engineering,
      O=PaintedWordI
      nc, C=US
              certificate 2 for : CN=PaintedWordInc, OU=Engineering,
      O=PaintedWordI
      nc, C=US
                              from : CN=PaintedWordInc, OU=Engineering,
      O=PaintedWordI
      nc, C=US

              No further information available.

      C:\>javakey -ek PaintedWordInc pw_pub pw_priv
      Public key exported to pw_pub.
      Private key exported to pw_priv.

      C:\>javakey -ec PaintedWordInc 1 pwcert1.cer
      Certificate 1 exported to pwcert1.cer.

      C:\>javakey -ec PaintedWordInc 2 pwcert2.cer
      Certificate 2 exported to pwcert2.cer.

      C:\>javakey -r PaintedWordInc
      Removed PaintedWordInc.

      C:\>javakey -ld

      Scope: sun.security.IdentityDatabase, source file: C:/\identitydb.obj

      C:\>javakey -cs PaintedWordInc true
      Created identity [Signer]PaintedWordInc[identitydb.obj][trusted]

      C:\>javakey -ld

      Scope: sun.security.IdentityDatabase, source file: C:/\identitydb.obj

      [Signer]PaintedWordInc[identitydb.obj][trusted]
              no keys
              no certificates
              No further information available.

      C:\>javakey -ik PaintedWordInc pw_pub
      Set public key from pw_pub for PaintedWordInc.

      C:\>javakey -ld

      Scope: sun.security.IdentityDatabase, source file: C:/\identitydb.obj

      [Signer]PaintedWordInc[identitydb.obj][trusted]
              no keys
              certificates:

              No further information available.

      C:\>javakey -ic PaintedWordInc pwcert1.cer
      Imported certificate from pwcert1.cer for PaintedWordInc.

      C:\>javakey -ld

      Scope: sun.security.IdentityDatabase, source file: C:/\identitydb.obj

      [Signer]PaintedWordInc[identitydb.obj][trusted]
              no keys
              certificates:
              certificate 1 for : CN=PaintedWordInc, OU=Engineering,
      O=PaintedWordI
      nc, C=US
                              from : CN=PaintedWordInc, OU=Engineering,
      O=PaintedWordI
      nc, C=US

              No further information available.

      C:\>javakey -ik PaintedWordInc pw_pub
      Set public key from pw_pub for PaintedWordInc.

      C:\>javakey -ld

      Scope: sun.security.IdentityDatabase, source file: C:/\identitydb.obj

      [Signer]PaintedWordInc[identitydb.obj][trusted]
              no keys
              certificates:

              No further information available.

      C:\>



      (Sorry, we can't give out our identitydb.obj file,
      since it contains our private key :-)
      (Review ID: 42551)
      ======================================================================

            jlueheorcl Jan Luehe (Inactive)
            rschemersunw Roland Schemers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: