please excuse my naivety on JAVA keystore, but is that simply just a folder where the public, and private keys are stored on my client PC. I have both certs sitting in a folder on my PC, do I just give that folder name / path in step 2 definition, or is there a special keystore folder or container that needs to be established where the certs reside?
thanks for the bit of clarification...
Mike
SUPPORT FOR CLIENT SSL CERTIFICATE AUTHENTICATIONRe: SUPPORT FOR CLIENT SSL CERTIFICATE AUTHENTICATIONYou need a .pfx or .p12 file as Java keystore. It stands for PKCS#12 security standard. Such file includes both private/public key for client certificate authentication. You can export such .p12 from Internet Explorer: Options -> Content -> Certificates -> Personal -> Export
Protect this .12 file with a password when exporting. Re: SUPPORT FOR CLIENT SSL CERTIFICATE AUTHENTICATIONWHEN I DO STEP 3 in the below reccomended procedure...... I get a cacerts is not a legal command error... Am i missing something?
=========== FTPS with Client certificate - Weak SSL viewtopic.php?f=8&t=117 Deme, let's continue the FTPS discussion here as it could be useful for everyone. There is a bug in WeakSSL 2.0 that makes client certificate sent to server on SSL handshake fail. However, I've just made it works without WeakSSL. Here are instructions if you want to try it: 1/ Remove WeakSSL. Remove lib/weakssl.jar into all ARCHIVE parameter. Remove the following parameter too: <PARAM NAME="param6" VALUE="weakssl"> <PARAM NAME="value6" VALUE="true"> 2/ Force user's Java keystore to be your PKCS12 file. Open the Java control panel. Start-> Control Panel -> Java -> Java tab -> Runtime parameters. Add the following parameters: -Djavax.net.ssl.keyStoreType=pkcs12 -Djavax.net.ssl.keyStore=c:/tmp/deme.p12 -Djavax.net.ssl.keyStorePassword=xxxxxxx (Replace xxxxx by the pass phrase) 3/ Import your self-signed CA certificate in Java trust store. Into C:\Program Files\Java\jre1.6.0_06\lib\security: a) Backup cacerts b) Run the following command C:\Program Files\Java\jre1.6.0_06\bin>keytool -import -trustcacerts -file ca.crt -keystore ../lib/security/cacerts -storepass changeit Then run the applet in your browser and you should upload working fine with your FTPS server. I'm going to see how to fix the WeakSSL issue to avoid step2 and step3. Do you plan to use a trusted root certificate (such as Verisign, Thawte ...) or only self-signed when you will be in production ? Re: SUPPORT FOR CLIENT SSL CERTIFICATE AUTHENTICATIONnever mind fixed that problem, keyin error... but now when I run step 3 in recommended procedure keyed in corectly... I get---> key tool error: java.io.FileNotFoundException :ca.crt <the system cannot find the file specified>
Re: SUPPORT FOR CLIENT SSL CERTIFICATE AUTHENTICATIONca.cert is a file containing the signer certificate of the client certificate. Do you have this file ?
Who did sign the client certificate ? Verisign, Thawte ? or are you using a self signed certificate ? Re: SUPPORT FOR CLIENT SSL CERTIFICATE AUTHENTICATIONWe've just released WeakSSL 2.2 at:
http://www.jfileupload.com/products/tools/index.html If you install it you should get rid of step #3. I hope it helps. Re: SUPPORT FOR CLIENT SSL CERTIFICATE AUTHENTICATIONThanks for this post providing the SSl certificate authentication installation steps.
|