keytool error

Discussion in 'Java' started by John Smith, Jul 22, 2003.

  1. John Smith

    John Smith Guest

    I'm trying to import a keytool and i get this error message

    keytool error: java.io.FileNotFoundException:
    C:\j2sdk1.4.2\jre\lib\security" (The filename, directory name, or volume
    label syntax is incorrect)


    this is the command i typed:

    C:\>keytool -import -trustcacerts -file "C:\TrustedRootCert.der" -keystore
    "C:\j2sdk1.4.2\jre\lib\security\"

    this is what happens:

    Trust this certificate? [no]: yes
    Certificate was added to keystore
    keytool error: java.io.FileNotFoundException:
    C:\j2sdk1.4.2\jre\lib\security" (The filename, directo
    ry name, or volume label syntax is incorrect)
    John Smith, Jul 22, 2003
    #1
    1. Advertising

  2. John Smith

    Sudsy Guest

    John Smith wrote:
    > I'm trying to import a keytool and i get this error message
    >
    > keytool error: java.io.FileNotFoundException:
    > C:\j2sdk1.4.2\jre\lib\security" (The filename, directory name, or volume
    > label syntax is incorrect)
    >
    >
    > this is the command i typed:
    >
    > C:\>keytool -import -trustcacerts -file "C:\TrustedRootCert.der" -keystore
    > "C:\j2sdk1.4.2\jre\lib\security\"


    The keystore argument should point to a FILE, not a DIRECTORY.
    Sudsy, Jul 22, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hfk0
    Replies:
    2
    Views:
    21,638
  2. JavaQueries
    Replies:
    1
    Views:
    3,625
    John C. Bollinger
    Mar 1, 2005
  3. O.B.
    Replies:
    1
    Views:
    1,638
    Ronny Schuetz
    Jan 29, 2006
  4. js

    keytool questions

    js, Jul 4, 2006, in forum: Java
    Replies:
    0
    Views:
    623
  5. aditya _22cen
    Replies:
    3
    Views:
    733
    Arne Vajhøj
    Nov 6, 2011
Loading...

Share This Page