Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

importing CAs into the certificate store

3 views
Skip to first unread message

passfree

unread,
Nov 22, 2010, 5:40:34 PM11/22/10
to mozilla-dev...@lists.mozilla.org
I am building a firefox extension which provides a http proxy server
which will be used for development and testing web applications, (all
in one development and testing environment). The extension makes use
of one binary component which I conveniently called SSL Pipe. The pipe
simply wraps an input and output stream into ssl and provides an
alternative input and output stream for communication.

The module works! It works, although I cannot find how to test it
inside firefox. I tried to use the certutil within my profile folder
in order to create a TestCA, but my attempt failed with a strange IO
error. I also tried to create a cert with openssl and import it into
"Your Certificates" tab under the certManager but that failed too.

What I need to know is how can this be achieved? How can I import a my
TestCA into the profile cert databases so that I can use it by
PK11_FindCertFromNickname function?

Many thanks in advance.

Nelson Bolyard

unread,
Nov 24, 2010, 1:19:32 PM11/24/10
to mozilla-dev...@lists.mozilla.org
On 2010-11-22 14:40 PDT, passfree wrote:
> I am building a firefox extension which provides a http proxy server
> which will be used for development and testing web applications, (all
> in one development and testing environment). The extension makes use of
> one binary component which I conveniently called SSL Pipe. The pipe
> simply wraps an input and output stream into ssl and provides an
> alternative input and output stream for communication.
>
> The module works! It works, although I cannot find how to test it
> inside firefox.

If you haven't yet tested it, how do you know it works?

> I tried to use the certutil within my profile folder in order to create
> a TestCA, but my attempt failed with a strange IO error.

That's not enough information for anyone to be able to help you.

> I also tried to create a cert with openssl and import it into "Your
> Certificates" tab under the certManager but that failed too.

With what error message?

> What I need to know is how can this be achieved? How can I import a my
> TestCA into the profile cert databases so that I can use it by
> PK11_FindCertFromNickname function?
>
> Many thanks in advance.


--
/Nelson Bolyard

passfree

unread,
Nov 24, 2010, 6:02:25 PM11/24/10
to mozilla-dev...@lists.mozilla.org
On Nov 24, 6:19 pm, Nelson Bolyard <NOnelsonS...@NObolyardSPAM.me>
wrote:

I've been testing it in a standalone application and couldn't make it
work with Firefox. It all works now.

0 new messages