Системная криптографическая ошибка 0x80090022

Форум КриптоПро
 » 
Общие вопросы
 » 
Общие вопросы
 » 
Ошибка при обращении через stunnel КриптоПро TLS. Ошибка 0x80090022 при обращении к CSP


Offline

Maxim BIZIT

 


#1
Оставлено
:

26 июня 2019 г. 14:04:36(UTC)

Maxim BIZIT

Статус: Новичок

Группы: Участники

Зарегистрирован: 26.06.2019(UTC)
Сообщений: 1
Российская Федерация
Откуда: Ставрополь

Настроили stunnel службу запустили, стоит Крипто ПРо, стоят сертификаты
Делаем запрос через туннель

Ошибка

КриптоПро TLS. Ошибка 0x80090022 при обращении к CSP: Поставщику не удалось выполнить действие, так как запрошено выполнение в автоматическом контексте


Вверх


Offline

Максим Коллегин

 


#2
Оставлено
:

26 июня 2019 г. 15:41:49(UTC)

Максим Коллегин

Статус: Сотрудник

Группы: Администраторы

Зарегистрирован: 12.12.2007(UTC)
Сообщений: 6,297
Мужчина
Откуда: КРИПТО-ПРО

Сказал «Спасибо»: 21 раз
Поблагодарили: 680 раз в 599 постах

Используйте контейнер без пин-кода.

Знания в базе знаний, поддержка в техподдержке


Вверх

WWW

Пользователи, просматривающие эту тему

Guest

Форум КриптоПро
 » 
Общие вопросы
 » 
Общие вопросы
 » 
Ошибка при обращении через stunnel КриптоПро TLS. Ошибка 0x80090022 при обращении к CSP

Быстрый переход
 

Вы не можете создавать новые темы в этом форуме.

Вы не можете отвечать в этом форуме.

Вы не можете удалять Ваши сообщения в этом форуме.

Вы не можете редактировать Ваши сообщения в этом форуме.

Вы не можете создавать опросы в этом форуме.

Вы не можете голосовать в этом форуме.


Offline

Вячеслав_ Е

 


#1
Оставлено
:

15 июня 2023 г. 14:15:43(UTC)

Вячеслав_ Е

Статус: Участник

Группы: Участники

Зарегистрирован: 06.06.2017(UTC)
Сообщений: 20
Российская Федерация

Сказал(а) «Спасибо»: 3 раз

Добрый день, при попытке подписи возникает ошибка:

Не удалось создать подпись из-за ошибки: Поставщику не удалось выполнить действие, так как запрошено выполнение в автоматическом контексте. (0x80090022)

Вин10
КриптоПро версии 5.0.11455
Браузеры пробовал разные, Яндекс, Хромиум-Гост
Плагин и расширение обновлены до последних версий
Носитель — rutoken lite

Где-то видел совет по переустановке ДСЧ, не помогло.

Кто сталкивался? В чем может быть проблема?


Вверх


Offline

nickm

 


#2
Оставлено
:

15 июня 2023 г. 14:25:35(UTC)

nickm

Статус: Активный участник

Группы: Участники

Зарегистрирован: 31.05.2016(UTC)
Сообщений: 1,098

Сказал(а) «Спасибо»: 319 раз
Поблагодарили: 171 раз в 158 постах

А ПИН к устройству имеется?

Попробовать удалить запомненные пароли.


Вверх


Offline

Вячеслав_ Е

 


#3
Оставлено
:

15 июня 2023 г. 14:27:28(UTC)

Вячеслав_ Е

Статус: Участник

Группы: Участники

Зарегистрирован: 06.06.2017(UTC)
Сообщений: 20
Российская Федерация

Сказал(а) «Спасибо»: 3 раз

ПИН имеется, не по умолчанию, ранее не сохранялся


Вверх

Пользователи, просматривающие эту тему

Guest

Быстрый переход
 

Вы не можете создавать новые темы в этом форуме.

Вы не можете отвечать в этом форуме.

Вы не можете удалять Ваши сообщения в этом форуме.

Вы не можете редактировать Ваши сообщения в этом форуме.

Вы не можете создавать опросы в этом форуме.

Вы не можете голосовать в этом форуме.

Windows 7 Enterprise Windows 7 Professional Windows 7 Ultimate Windows Server 2008 R2 Datacenter Windows Server 2008 R2 Enterprise Windows Server 2008 R2 for Itanium-Based Systems Windows Server 2008 R2 Foundation Windows Server 2008 R2 Standard Windows Server 2008 R2 Web Edition More…Less

Symptoms

Consider the following scenario:

  • You set up an enterprise certification authority (CA) in a Windows Server 2008 R2 Active Directory domain on a computer that is running Windows 7 or Windows Server 2008 R2.

  • You configure a Version 3 certificate template that requires a Cryptography Next Generation (CNG) provider for the domain.

  • You configure auto-enrollment for computer certificates.

  • You enable the Force strong key protection for user keys stored on the computer policy for a Group Policy Object (GPO).

In this scenario, the auto-enrollment process for computer certificates fails on the client computer. Additionally, you receive an error message that resembles the following in the event log:

NTE_SILENT_CONTEXT (0x80090022)

Cause

This issue occurs because of an error in CNG implementation.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a «Hotfix download available» section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote The «Hotfix download available» form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 Service Pack 1 (SP1). For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 7 and Windows Server 2008 R2 file information notes


Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under «Windows 7/Windows Server 2008 R2» on the page. Always refer to the «Applies To» section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Version

    Product

    Milestone

    Service branch

    6.1.760
    1.21xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    LDR

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the «Additional file information for Windows 7 and for Windows Server 2008 R2» section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are critical to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Ncrypt.dll

6.1.7601.21872

219,136

03-Dec-2011

05:19

Ncryptui.dll

6.1.7601.21872

60,928

03-Dec-2011

05:19

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Ncrypt.dll

6.1.7601.21872

306,688

03-Dec-2011

06:23

Ncryptui.dll

6.1.7601.21872

66,048

03-Dec-2011

06:23

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Ncrypt.dll

6.1.7601.21872

549,376

03-Dec-2011

05:14

Ncryptui.dll

6.1.7601.21872

109,056

03-Dec-2011

05:14

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

More Information

For more information about Cryptography Next Generation, visit the following Microsoft website:

General information about Cryptography Next GenerationFor more information about certificate templates, visit the following Microsoft websites:

How to configure certificate templates

Certificate templates overviewFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

File name

X86_3a87bdc2dc32cb68e5039c7ce8e4657a_31bf3856ad364e35_6.1.7601.21872_none_cceee70eb27ea9f7.manifest

File version

Not applicable

File size

700

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

X86_605c17ea121c539b195bda22f2483433_31bf3856ad364e35_6.1.7601.21872_none_fafffca7be5bb455.manifest

File version

Not applicable

File size

698

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

X86_microsoft-windows-ncrypt-dll_31bf3856ad364e35_6.1.7601.21872_none_602c7ff8692e36be.manifest

File version

Not applicable

File size

2,737

Date (UTC)

03-Dec-2011

Time (UTC)

06:32

File name

X86_microsoft-windows-ncryptui-dll_31bf3856ad364e35_6.1.7601.21872_none_83e9dea95a96beb6.manifest

File version

Not applicable

File size

2,389

Date (UTC)

03-Dec-2011

Time (UTC)

06:41

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_3a87bdc2dc32cb68e5039c7ce8e4657a_31bf3856ad364e35_6.1.7601.21872_none_290d82926adc1b2d.manifest

File version

Not applicable

File size

702

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

Amd64_51fa66146d361aa257088d7acd0038fa_31bf3856ad364e35_6.1.7601.21872_none_92e781af667f756b.manifest

File version

Not applicable

File size

1,044

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

Amd64_605c17ea121c539b195bda22f2483433_31bf3856ad364e35_6.1.7601.21872_none_571e982b76b9258b.manifest

File version

Not applicable

File size

700

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

Amd64_75921180a9699bd9931b9b504e4c3e05_31bf3856ad364e35_6.1.7601.21872_none_6880595831b822c0.manifest

File version

Not applicable

File size

704

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

Amd64_ed708a4bd5441855fe9c5010abeb2463_31bf3856ad364e35_6.1.7601.21872_none_6b45d96a7f39a02b.manifest

File version

Not applicable

File size

702

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

Amd64_fd6af2c0350475f1230061df1bdd183b_31bf3856ad364e35_6.1.7601.21872_none_9c0c318a815a0d30.manifest

File version

Not applicable

File size

1,048

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

Amd64_microsoft-windows-ncrypt-dll_31bf3856ad364e35_6.1.7601.21872_none_bc4b1b7c218ba7f4.manifest

File version

Not applicable

File size

2,741

Date (UTC)

03-Dec-2011

Time (UTC)

07:33

File name

Amd64_microsoft-windows-ncryptui-dll_31bf3856ad364e35_6.1.7601.21872_none_e0087a2d12f42fec.manifest

File version

Not applicable

File size

2,393

Date (UTC)

03-Dec-2011

Time (UTC)

07:43

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name

Ia64_d49808fae0b8f97a4f85148a58935cfd_31bf3856ad364e35_6.1.7601.21872_none_15699b2a14231506.manifest

File version

Not applicable

File size

1,046

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

Ia64_ef06c5cba3fe4805357b955b9ede119e_31bf3856ad364e35_6.1.7601.21872_none_4589013ffc9bcdc7.manifest

File version

Not applicable

File size

1,042

Date (UTC)

05-Dec-2011

Time (UTC)

18:37

File name

Ia64_microsoft-windows-ncrypt-dll_31bf3856ad364e35_6.1.7601.21872_none_602e23ee692c3fba.manifest

File version

Not applicable

File size

2,739

Date (UTC)

03-Dec-2011

Time (UTC)

06:40

File name

Ia64_microsoft-windows-ncryptui-dll_31bf3856ad364e35_6.1.7601.21872_none_83eb829f5a94c7b2.manifest

File version

Not applicable

File size

2,391

Date (UTC)

03-Dec-2011

Time (UTC)

06:46

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

  • Remove From My Forums
  • Question

  • Hi, i’m trying to create a certificate with certenroll, but when i try to create it i get the Error «0x80090022 Provider could not perform the action since the context was acquired as silent», here is the code i’m using

    In the page:

    Code Block

    <OBJECT id=»g_objClassFactory» CLASSID=»clsid:884e2049-217d-11da-b2a4-000e7bbb2b09″></object>

    In Javascript:

    Code Block

       var obj=g_objClassFactory.CreateObject(«X509Enrollment.CX509Enrollment»);
       var objPrivateKey=g_objClassFactory.CreateObject(«X509Enrollment.CX509PrivateKey»);
       var objRequest=g_objClassFactory.CreateObject(«X509Enrollment.CX509CertificateRequestPkcs10»);
       var csps = g_objClassFactory.CreateObject(«X509Enrollment.CCspInformations»);
       var objDN = g_objClassFactory.CreateObject(«X509Enrollment.CX500DistinguishedName»);
       csps.AddAvailableCsps();

       var provider=csps.ItemByIndex(12);

       objPrivateKey.ProviderType = provider.Type;
       objPrivateKey.ProviderName = provider.Name
       objPrivateKey.KeySpec = «1»;
       objRequest.InitializeFromPrivateKey(1, objPrivateKey, «»);
       objDN.Encode(szName,0);

       objRequest.Subject=objDN;

       obj.InitializeFromRequest(objRequest);

       sz10=obj.CreateRequest(1);

    What’s the meaning of «acquired as silent»?, the only «silent» i’ve seen in certenroll is the silent property of the certificate request but when i try to set it i get an Access denied error.

    Any idea how to fix this?

    Thanks..

Answers

  • Found the answer… just list the providers, find it by it’s name and asign it to the private key

    Code Block

    var selectedProvider = g_objClassFactory.CreateObject(«X509Enrollment.CCspInformation»);
    selectedProvider.InitializeFromName(providerName);
    privateKey.CspInformations = g_objClassFactory.CreateObject(«X509Enrollment.CCspInformations»);
    privateKey.CspInformations.Add(selectedProvider);

Код ошибки 0x80090029 — Запрошенная операция не поддерживается

Ошибка

При удалении ГОСТ-сертификата, записанного на Рутокен ЭЦП 2.0, в «Панели управления Рутокен» возникает ошибка «Запрошенная операция не поддерживается (0x80090029)»

Данная ошибка возникает при установленной «КриптоПро CSP» версии 5.0.

В новой версии «КриптоПро CSP» версии 5.0 R2 это исправлено. 

Решение

В данном случае для удаления ГОСТ-сертификата с Рутокен ЭЦП 2.0 рекомендуем использовать наш портал ra.rutoken.ru 

Так как данный конфликт возникает при установленной «КриптоПро CSP» версии 5.0, то также можно временно удалить эту программу или воспользоваться другим компьютером, без установленной «КриптоПро CSP» или с установленной более ранней версией «КриптоПро CSP».

  • Системе не удается инициализировать локальную службу печати ошибка 0x3e5
  • Системе виндовс не удалось исправить ошибки диска
  • Системе виндовс не удается обновить файлы установки чтобы установить систему виндовс ошибка 0х6
  • Системе виндовс не удается обновить файлы установки код ошибки 0x0
  • Системе windows не удалось исправить ошибки диска флешка