Re: Import Keys from OpenSSL into NSS

2015-11-02 Thread JBarry
Hi John, 

Thank you for the quick reply! I will look into these and will post again if
I have any more questions.

Thanks again for the information,
Jim



--
View this message in context: 
http://mozilla.6506.n7.nabble.com/Import-Keys-from-OpenSSL-into-NSS-tp346675p346751.html
Sent from the Mozilla - Cryptography mailing list archive at Nabble.com.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto


Re: Import Keys from OpenSSL into NSS

2015-10-30 Thread John Dennis

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


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


Re: Import Keys from OpenSSL into NSS

2015-10-30 Thread John Dennis

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