Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | SV: Java -> .NET RSA Encryption |
|---|---|
| Date: | Mon, 4 Apr 2005 14:34:36 +0200 |
Ok, if its that way around, the simplest way (for development purposes) would be: Use the Microsoft tool makecert.exe to generate a certitifcate: makecert.exe -r -n "CN=MyCertificateName;L=Stockholm;C=se" -b 01/01/2005 -e 01/01/2010 -ss my this will create a self-signed certificate with the commonname "MyCErtificateName", and place it in the personal folder of your user certificate store. To have a look at it: Start mms.exe, select add/remove snap-in and select certificates and my personal, then expand personal and you will see it.
From here you can also export a copy of the certificate (not the private
key), by opening the certificate and flipping to the second tab and selecting copy to file (be sure to select Base-64 encoding!) then you can import the certificate into a java keystore by: keytool -import -keystore <keystore name> -file <the filename you exported it to> Regards Fredr!k -----Ursprungligt meddelande----- Från: john bart Till: comp.lang.java.security@news2mail.com; secprog@securityfocus.com; webappsec@securityfocus.com; SC-L@securecoding.org; vuln-dev@securityfocus.com Skickat: 2005-03-31 08:12 Ämne: RE: Java -> .NET RSA Encryption What are the main steps to generate a key pair, put the private in the .NET environment and the public in java keystore?
A tip regarding the exchange of keys: Traditional Java keystores does not allow you to import or export a
private
key. Only to generate it >in the keystore. However, you can load a PKCS12 (pfx) file as a keystore instead. So by generating the keys using OpenSSL and packaging them as a PKCS12-package you can >make them available for both platforms without installing additional providers. Regards Fredr!k
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Categories for application security testing & tools, Ashish Popli |
|---|---|
| Next by Date: | Re: secprog Digest 2 Apr 2005 19:17:38 -0000 Issue 293, David A. Wheeler |
| Previous by Thread: | Re: Categories for application security testing & tools, Ashish Popli |
| Next by Thread: | Re: secprog Digest 2 Apr 2005 19:17:38 -0000 Issue 293, David A. Wheeler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |