On 10/30/2015 10:05 AM, John Dennis wrote:
On 10/30/2015 06:23 AM, JBarry wrote:
Good Morning,

I'll apologize in advance if this question has already been
asked/answered
(I did look and found nothing that helped me out) or if the question
seems
trivial. I am a college intern currently working with NSS for the first
time, so please forgive me if I state anything incorrectly or in a
confusing
manner.

So I would like to import keys generated by OpenSSL into NSS and make
them
usable in NSS. Any help on how to accomplish this (any commands
needed/used)
as well was what functions help do this (so I can better understand the
system) would be much appreciated.

My reasoning behind wanting to do this is mainly because I am having a
hard
time understanding how keys are generated in NSS and my supervisor stated
that if we could import the keys from OpenSSL then that would work
just as
well. (If you also have the ability to explain this then that would be
extra
awesome)

Any help is much appreciated,

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/tools/NSS_Tools_certutil

Opps, hit send too quick

You'll create a NSS database using certutil (above link)

Then you'll import your key/cert into the NSS database using pk12util

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Tools/pk12util


Some more useful info here in this link:

https://docs.oracle.com/cd/E19316-01/820-4335/ablrf/index.html

To get your OpenSSL key/cert into a pkcs12 file you'll need to read up on this command.

openssl pkcs12 -export


--
John
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to