Может ли Firefox использовать хранилище сертификатов Windows?

7410
Fragmentation Needed

Как я могу заставить Firefox использовать хранилище сертификатов Windows для поиска клиентских сертификатов?

Вариант использования: веб-аутентификация с сертификатом клиента, который хранится в хранилище сертификатов Windows и защищен с помощью TPM . Сертификат виден там и автоматически разблокируется (с помощью PIN-кода) при доступе через хранилище сертификатов. Закрытый ключ не может быть экспортирован (для не администраторов).

4

1 ответ на вопрос

4
Pimp Juice IT

How can I get Firefox to use the Windows certificate store to look for client certificates?

It does not appear that this is possible according to Wiki Mozilla. This article does talk about how to get the CA's into Firefox though so it may be worth reading entirely. I also posted another article at the bottom with potential workaround, etc.

Installing Certificates Into Firefox

There are lots of organizations that use their own certificate authority to issue certificates for their internal servers. Since Firefox does not use the Windows certificate store (bug 432802, bug 472113), these have to be manually added into Firefox. This page will cover how to get those CAs into Firefox.



Update

Source

Using the PKCS#11 module in Firefox and Thunderbird

After installation of OpenSC you must register the PKCS11 module in Firefox:

  1. Open the Firefox preferences dialog. Choose “Advanced” > “Encryption” > “Security Devices”
  2. Choose “Load”
  3. Enter a name for the security module, such as “OpenSC”
  4. Choose “Browse…” to find the location of the PKCS11 module on your local computer (Usually c:\WINDOWS\System32\opensc-pkcs11.dll or /usr/local/lib/opensc-pkcs11.so)

Other Potential Resources


Further Clarification

If you're wondering where to find the security.enterprise_roots.enabled setting, form the Firefox address bar, you can type in About:Config, and then press Enter.

Important: If you get the warning that "This might void your warranty" you will need to select the I accept the risk (enter image description here) option.

In the Search field, type in "security" and press Enter to see the setting and attributes from there.

enter image description here

Проблема не в CA, а в клиентских сертификатах. Они приходят от SmartCards или Virtual SmartCards, но промежуточное программное обеспечение позволяет рассматривать их как стандартные клиентские сертификаты, которые хранятся в хранилище сертификатов Windows. Вы можете добавить криптографические модули PKCS # 11 в Firefox, но какую dll делать In придется выбирать здесь? Если есть один? Fragmentation Needed 8 лет назад 0
@FragmentationNeeded Я добавил раздел обновления к своему ответу, взглянул на него и его ссылки и дал мне знать, если это поможет. Pimp Juice IT 8 лет назад 0
Установка OpenSC в Firefox работает, но, кажется, не поддерживает защищенную TPM VirtualSmartcard. И у меня нет клея, который DLL, чтобы выбрать или, если M $ даже предоставляет библиотеку форта. Спасибо, в любом случае! Fragmentation Needed 8 лет назад 0
@FragmentationNeeded Я думаю, это будет `opensc-pkcs11.dll`, если ваша смарт-карта поддерживается OpenSC для аутентификации, подписывания и дешифрования. Дайте мне знать, если они помогут вам заставить его работать как положено или нет. Pimp Juice IT 8 лет назад 1
В первой ссылке на статью Wiki Mozilla сказано, что нужно установить security.enterprise_roots.enabled, но я нигде не могу найти этот параметр riqitang 7 лет назад 0
@riqitang Немного поздно, но для всех, кто может наткнуться на это, этот параметр находится в "about: config". http://kb.mozillazine.org/About:config Alistair McMillan 6 лет назад 0
@ McDonald's Я только что ответил на комментарий Рикитана. Сказать, где найти этот параметр «security.enterprise_roots.enabled». Alistair McMillan 6 лет назад 0