RE: Extracting RSA keys from internal database

2008-10-14 Thread David Stutzman
> Anyway, I've tried dumping it to a file, this way: > And after that, I tried managing it with openssl command line tools, > but it doesn't seem to have a proper structure. > > ¿What are the contents of the string encprivkey->encryptedData.data? > > Is it a proper pkcs5 or pkcs8 or pkcs12 (when

Re: Extracting RSA keys from internal database

2008-09-03 Thread Nelson B Bolyard
Paco wrote, On 2008-09-03 03:33: > How could I build with NSS a pkcs8 object which was treatable by > openssl? You don't. You create a PKCS#12 file (also known as a "pfx" file) that contains both the private key and the cert(s). OpenSSL can handle files of that format. _