EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Reading firefox certificates

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 04/10/2008 06:55:02
by Pingu O (Basic support level)
Joined: 04/10/2008
Posts: 1


i'm using TElWinCertStorage for reading installed certificates, this works all fine. But it don't find any certificates dat are loaded with FireFox. Is there a way to get de certificates which are installed in firefox?

procedure LoadCertificates(List: TCerticifateList; IncludeExpired: Boolean =
    True; Issuer: string = '');
  i: Integer;
  Cert: TElX509Certificate;
  WinStorage: TElWinCertStorage;
  CloneCert: TElX509Certificate;
  WinStorage := TElWinCertStorage.Create(nil);

    for i := WinStorage.Count - 1 downto 0 do
      Cert := WinStorage.Certificates[i];

      if (IncludeExpired or (Cert.ValidTo >= Date)) and
        ((Issuer = '') or SameText(Cert.IssuerName.Organization, Issuer)) then
          CloneCert := TElX509Certificate.Create(nil);


thx in advance.
PS. the certificates aren't download but directly installed from a website.

Posted: 04/10/2008 07:16:23
by Ken Ivanov (EldoS Corp.)

As far as I know, Firefox stores certificates in some file on disk, so you cannot access them via TElWinCertStorage component.

We can provide no information about the exact location and format of the Firefox certificates database, sorry.



Topic viewed 1101 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!