Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Is there a way add certificate with "Builtin Object Token"?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
serval  
View profile  
 More options Nov 20 2009, 3:24 am
Newsgroups: mozilla.dev.tech.crypto
From: serval <stanislav.alexo...@gmail.com>
Date: Fri, 20 Nov 2009 00:24:53 -0800 (PST)
Local: Fri, Nov 20 2009 3:24 am
Subject: Is there a way add certificate with "Builtin Object Token"?
Hi

I need add my certificate into certdb with token "Builtin Object
Token" I thought it is impossible but there have to exist some way
because if I remove one of root certificates it is restored after
firefox restart. But I can not find source code where this happen.

Could anyone help my? Maybe just point on part of code where firefox
restores certificates on start up.

thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson B Bolyard  
View profile  
 More options Nov 20 2009, 2:40 pm
Newsgroups: mozilla.dev.tech.crypto
From: Nelson B Bolyard <nel...@bolyard.me>
Date: Fri, 20 Nov 2009 11:40:01 -0800
Local: Fri, Nov 20 2009 2:40 pm
Subject: Re: Is there a way add certificate with "Builtin Object Token"?
On 2009-11-20 00:24 PST, serval wrote:

> I need add my certificate into certdb with token "Builtin Object Token"

The "builtin object token" is a separate token from the token that holds the
cert DB.  You can add your cert into the cert DB, or into the builtin object
token, or into both.  See the diagram in figure 2.1 at
http://www.mozilla.org/projects/security/pki/nss/ref/ssl/gtstd.html#1...

The "Builtin object token" is not shown there.  If it was, it would look
like the box labeled "Fortezza", except that it would not have any explicit
physical slots and tokens, because the "builtin object token" is actually
a virtual token, whose contents are read only, compiled in to a shared library.

> I thought it is impossible but there have to exist some way because if I
> remove one of root certificates it is restored after firefox restart. But
> I can not find source code where this happen.

Right.  It is actually a bug that Firefox appears to let you remove a root
cert.  You cannot remove a root cert from the builtin object token because
it is read only, compiled in.  When Firefox "deletes" it, Firefox merely
forgets about it for the remainder of that process lifetime, but the next
time the process restarts, it's right back again in the shared library,
because it never left the shared library.

> Could anyone help my? Maybe just point on part of code where firefox
> restores certificates on start up.

I hope my explanation has helped.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »