Truckers mp ошибка 0x80092012


Rustam Shoev
Приветствую. Рустам глянь тут

Спойлер

https://forum.truckersmp.com/index.php?/topic/50534-timeout-trying-again/

Но похоже тебе надо установить вот это

Спойлер

https://www.microsoft.com/net/download/dotnet-framework-runtime/net462

Из за этого в основном проблемы с запуском.
Удачи.

  • пожаловаться
  • скопировать ссылку


Виктор.Т.
не то не другое не помогло

  • пожаловаться
  • скопировать ссылку


Rustam Shoev
Введи заново пароль и почту и поставь галочку напротив Remember Me.

  • пожаловаться
  • скопировать ссылку


Виктор.Т.
Не помогает,даже если вводить что-то другое выпадает та же ошибка.

  • пожаловаться
  • скопировать ссылку


war.hero.9may
Раньше сталкивался с такой проблемой?
Там сказано если мне не изменяет память, что почту или пароль вводишь с ошибкой на которой у тебя зарегистрирован аккаунт мп.
И еще попробуй на время входа отключить антивирус.

  • пожаловаться
  • скопировать ссылку


Rustam Shoev
Привет версия игры не совпадает жди пока не выйдет 1 33 и мп не переделают я тоже зайти не могу только с америкой

  • пожаловаться
  • скопировать ссылку

Description

This is in a corporate environment, specific security policies, proxies and firewalls are in place.

Using GitHub through Jenkins:
Command «…git.exe ls-remote -h https://github.com/…..git HEAD» returned status code 128:
stdout:
stderr: fatal: unable to access
‘https://github.com/….git/’: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) — The revocation function was unable to check revocation for the certificate.

Using the same on a command line works seamlessly.

Any help solving or pinpointing this issue is greatly appreciated.

Version

GitHub Desktop version: git version 2.13.0.windows.1

OS version: Windows Server 2012 R2 Standard

Steps to Reproduce

  1. Get behind specific security policies, proxies and firewalls
  2. Try to access project configuration page in Jenkins; view Git Repository URL status info

Expected behavior: Repo cloning

Actual behavior: Accessing the repo fails

Reproduces how often: Every time, for every project

Logs

Sep 26, 2017 4:48:17 PM org.eclipse.jetty.server.session.Session beginInvalidate
INFO: Session node01p2vfd8qgjzcabocpvhaff1se0 already being invalidated
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins$25 run
SEVERE: Restarting VM as requested by admin
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins cleanUp
INFO: Stopping Jenkins
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins$21 onAttained
INFO: Started termination
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins$21 onAttained
INFO: Completed termination
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins _cleanUpDisconnectComputers
INFO: Starting node disconnection
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins _cleanUpShutdownPluginManager
INFO: Stopping plugin manager
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins _cleanUpPersistQueue
INFO: Persisting build queue
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins _cleanUpAwaitDisconnects
INFO: Waiting for node disconnection completion
Sep 26, 2017 4:54:51 PM jenkins.model.Jenkins cleanUp
INFO: Jenkins stopped
Sep 26, 2017 4:54:53 PM Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file C:WindowsTEMPwinstonejenkins.war
Sep 26, 2017 4:54:53 PM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized @295ms to org.eclipse.jetty.util.log.JavaUtilLog
Sep 26, 2017 4:54:53 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Sep 26, 2017 4:54:53 PM org.eclipse.jetty.server.handler.ContextHandler setContextPath
WARNING: Empty contextPath
Sep 26, 2017 4:54:53 PM org.eclipse.jetty.server.Server doStart
INFO: jetty-9.4.z-SNAPSHOT
Sep 26, 2017 4:54:54 PM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Sep 26, 2017 4:54:54 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: DefaultSessionIdManager workerName=node0
Sep 26, 2017 4:54:54 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: No SessionScavenger set, using defaults
Sep 26, 2017 4:54:54 PM org.eclipse.jetty.server.session.HouseKeeper startScavenging
INFO: Scavenging every 660000ms
Sep 26, 2017 4:54:54 PM org.eclipse.jetty.server.handler.ContextHandler doStart
INFO: Started w.@1987993{/,file:///E:/Program%20Files%20(x86)/Jenkins/war/,AVAILABLE}{E:Program Files (x86)Jenkinswar}
Sep 26, 2017 4:54:54 PM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started ServerConnector@1f8f5ae{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
Sep 26, 2017 4:54:54 PM org.eclipse.jetty.server.Server doStart
INFO: Started @1688ms
Sep 26, 2017 4:54:55 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
Sep 26, 2017 4:54:56 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Sep 26, 2017 4:54:56 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Sep 26, 2017 4:55:01 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Sep 26, 2017 4:55:01 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Sep 26, 2017 4:55:01 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping
Sep 26, 2017 4:55:02 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Sep 26, 2017 4:55:02 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Sep 26, 2017 4:55:03 PM jenkins.slaves.DeprecatedAgentProtocolMonitor initializerCheck
WARNING: This Jenkins instance uses deprecated Remoting protocols: JNLP2-connect,JNLP3-connectIt may impact stability of the instance. If newer protocol versions are supported by all system components (agents, CLI and other clients), it is highly recommended to disable the deprecated protocols.
Sep 26, 2017 4:55:03 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Sep 26, 2017 4:55:03 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Sep 26, 2017 4:55:03 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 7 ms
Sep 26, 2017 4:55:03 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@18e5c76: display name [Root WebApplicationContext]; startup date [Tue Sep 26 16:55:03 BST 2017]; root of context hierarchy
Sep 26, 2017 4:55:03 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@18e5c76]: org.springframework.beans.factory.support.DefaultListableBeanFactory@69e46d
Sep 26, 2017 4:55:03 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@69e46d: defining beans [authenticationManager]; root of factory hierarchy
Sep 26, 2017 4:55:03 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@1d15a43: display name [Root WebApplicationContext]; startup date [Tue Sep 26 16:55:03 BST 2017]; root of context hierarchy
Sep 26, 2017 4:55:03 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@1d15a43]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1fd0a7f
Sep 26, 2017 4:55:03 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1fd0a7f: defining beans [filter,legacy]; root of factory hierarchy
Sep 26, 2017 4:55:04 PM org.jenkinsci.plugins.skipcert.ItemListenerImpl onLoaded
INFO: Bypassing certificate check
Sep 26, 2017 4:55:04 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
Sep 26, 2017 4:56:18 PM org.eclipse.jetty.server.session.Session beginInvalidate
INFO: Session node0qdcbe63zgppj1anmj9glsupq70 already being invalidated

Additional Information

Содержание

  1. AutoCAD
  2. Проблема
  3. Подключитесь к Интернету, чтобы продолжить
  4. Причины:
  5. Решение
  6. Чтобы восстановить корневые сертификаты, выполните следующие действия.
  7. Код ошибки 0x80092012 запрос на ssl соединение не удалось выполнить
  8. Answered by:
  9. Question
  10. Answers
  11. All replies
  12. Почему возникают ошибки SSL-соединения и как их исправить?
  13. Что такое SSL?
  14. Причины возникновения ошибок SSL-соединения
  15. Проблемы с датой и временем
  16. Ненадежный SSL-сертификат
  17. Брандмауэр или антивирус, блокирующие сайт
  18. Включенный экспериментальный протокол QUIC
  19. Отсутствие обновлений операционной системы
  20. Использование SSL-сертификата версии 3.0
  21. Ошибки «Invalid CSR» при генерации сертификата из панели управления облачного провайдера

AutoCAD

Автор:

Проблема

При запуске программы Autodesk для Windows отображается следующее сообщение об ошибке:

Подключитесь к Интернету, чтобы продолжить

Не удалось обнаружить сервер лицензий Autodesk. Эта проблема может возникать по разным причинам, в том числе по указанным ниже.

  • Прервано подключение к Интернету.
  • Сервер лицензий Autodesk временно недоступен.

В службе просмотра событий Windows может отображаться следующая ошибка:

Причины:

Скомпрометированные корневые сертификаты для программ с серийными номерами по подписке с однопользовательским доступом.

Решение

Функция HTTPS Inspection может привести к ошибке в процессе проверки отзыва сертификата.

  • Отключите эту функцию для *.autodesk.com.

Чтобы восстановить корневые сертификаты, выполните следующие действия.

  1. Установите обновления протокола TLS (Transport Layer Security), соответствующие программному обеспечению и версии Autodesk.
  2. Откройте диспетчер сертификатов.

А. Щелкните меню Windows «Пуск».
Б. Введите certmgr.msc.
В. Нажмите клавишу ENTER.

  1. Перейдите в раздел Доверенные корневые центры сертификации >Сертификаты.
  1. Удалите эти сертификаты. Для этого щелкните их правой кнопкой мыши и выберите «Удалить».
Кому выдан Кем выдан
Go Daddy Class 2 Certification Authority Go Daddy Class 2 Certification Authority
DigiCert Global Root CA DigiCert Global Root CA
DigiCert High Assurance EV Root CA DigiCert High Assurance EV Root CA
GlobalSign GlobalSign
GlobalSign Root CA GlobalSign Root CA
Starfield Class 2 Certification Authority Starfield Class 2 Certification Authority
Thawte Timestamping CA Thawte Timestamping CA
VeriSign Universal Root Certification Authority VeriSign Universal Root Certification Authority
  1. В браузере Internet Explorer 11 (предпочтительно) или Chrome перейдите на следующие веб-сайты:
    • https://www.autodesk.ru/
    • https://accounts.autodesk.com (после загрузки страницы щелкните войти)
    • https://cur.autodesk.com
  2. Вернитесь в диспетчер сертификатов > «Доверенные корневые центры сертификации» > «Сертификаты».
  3. В меню «Действие» выберите «Обновить».
  4. Убедитесь в том, что добавлены сертификаты, соответствующие открытым веб-сайтам.
  5. Восстановите программное обеспечение Autodesk из панели управления Windows.
    1. Откройте «Панель управления» > «Программы» > «Программы и компоненты».
    2. Правой кнопкой мыши щелкните необходимую программу Autodesk и выберите «Удалить/Изменить».
    3. Выберите «Восстановить» или «Переустановить» и следуйте инструкциям мастера настройки программы.

Примечание. Если в домене есть объект групповой политики (GPO), ограничивающий регистрацию или отзыв стороннего сертификата, ознакомьтесь со следующей статьей:
Параметр «Однопользовательская» или «Войти в систему» отсутствуют на экране начала работы из-за дефектов корневых сертификатов.

Источник

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

Hello everybody.
It was migrated a Windows 2008 R2 Enterprise Root CA on a Windows 2012 R2 Offline Root CA + Sub CA.

Root CRL add to LDAP

certutil –dspublish –f «C:CDRootCARoot Certificate.crl» «Certificate Authority. «

When a client requests a certificate error occurs.
Active Directory Certificate Services denied request 412 because The revocation function was unable to check revocation for the certificate. 0x80092012 (-2146885614 CRYPT_E_NO_REVOCATION_CHECK). Additional information: Error Constructing or Publishing Certificate
When testing
certutil -verify -urlfetch subca.cer
The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)
————————————
Revocation check skipped — server offline
Cert is a CA certificate
ERROR: Verifying leaf certificate revocation status returned The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)
CertUtil: The revocation function was unable to check revocation because the revocation server was offline.
CertUtil: -verify command completed successfully.
In the second test.
certutil -url subca.cer
CRL (from CDP) — Failed
I would be very grateful tip.

MCITP, MCSE. Regards, Oleg

Answers

After adding a CRL in LDAP. It took reissue SubCA.
With the release of SubCA checked CRL Root CA. With his lack of written and gives SubCA marked .
Revocation Status: The revocation function was unable to check revocation for the certificate.

After signing SubCA certificates earned.

MCITP, MCSE. Regards, Oleg

can you post a full dump of «certutil -verify -urlfetch subca.cer» command?

Vadims Podāns, aka PowerShell CryptoGuy
My weblog: www.sysadmins.lv
PowerShell PKI Module: pspki.codeplex.com
Check out new: SSL Certificate Verifier
Check out new: PowerShell File Checksum Integrity Verifier tool.

Please make sure that the client is able to access at least one of the CDP listed in the subca.cer.

Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

Issuer:
CN=Company Certificate Authority
DC=Company
DC=org
Name Hash(sha1): 12a8fbb0998c92c2f73486e3ac5f96a3e6ab1765
Name Hash(md5): 4f4bcf3f9004ce434d07e46bfc695afc
Subject:
CN=Company Certificate Subordinate Authority
OU=Information Systems
O=Company Org
C=US
Name Hash(sha1): 776d6fc95204a474354401817065e4844acb58b1
Name Hash(md5): 3977a4d60c49cfbd4756951f2a83472c
Cert Serial Number: 6123302d000200002e69

dwFlags = CA_VERIFY_FLAGS_CONSOLE_TRACE (0x20000000)
dwFlags = CA_VERIFY_FLAGS_DUMP_CHAIN (0x40000000)
ChainFlags = CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT (0x40000000)
HCCE_LOCAL_MACHINE
CERT_CHAIN_POLICY_BASE
——— CERT_CHAIN_CONTEXT ———
ChainContext.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
ChainContext.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
ChainContext.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)

SimpleChain.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
SimpleChain.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
SimpleChain.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)

CertContext[0][0]: dwInfoStatus=102 dwErrorStatus=1000040
Issuer: CN=Company Certificate Authority, DC=Company, DC=org
NotBefore: 10/11/2015 11:07 PM
NotAfter: 6/5/2019 3:17 PM
Subject: CN=Company Certificate Subordinate Authority, OU=Information Systems, O=Company Org, C=US
Serial: 6123302d000200002e69
Template: SubCA
1b17a47351692f2a078dd5b75d3d11f30d3414d7
Element.dwInfoStatus = CERT_TRUST_HAS_KEY_MATCH_ISSUER (0x2)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
Element.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
Element.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)
—————- Certificate AIA —————-
Verified «Certificate (0)» Time: 0
[0.0] ldap:///CN=Company%20Association%20Certificate%20Authority,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Company,DC=org?cACertificate?base?objectClass=certificationAuthority

CertContext[0][1]: dwInfoStatus=10c dwErrorStatus=0
Issuer: CN=Company Certificate Authority, DC=Company, DC=org
NotBefore: 5/29/2009 7:04 PM
NotAfter: 6/5/2019 3:17 PM
Subject: CN=Company Certificate Authority, DC=Company, DC=org
Serial: 7ae9fcca60829fa64cbd39bf99e729b7
e7746458a96f7aea98eb8aa5623267b5baa76500
Element.dwInfoStatus = CERT_TRUST_HAS_NAME_MATCH_ISSUER (0x4)
Element.dwInfoStatus = CERT_TRUST_IS_SELF_SIGNED (0x8)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
—————- Certificate AIA —————-
No URLs «None» Time: 0
—————- Certificate CDP —————-
Expired «Base CRL (0764)» Time: 0
[0.0] ldap:///CN=Company%20Association%20Certificate%20Authority(1),CN=oldEnterprice01,CN=CDP,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Company,DC=org?certificateRevocationList?base?objectClass=cRLDistributionPoint

Exclude leaf cert:
1b17a47351692f2a078dd5b75d3d11f30d3414d7
Full chain:
f3dbdace25cdcccb69a1e48a75aa48aacf1da941
Issuer: CN=Company Certificate Authority, DC=Company, DC=org
NotBefore: 10/11/2015 11:07 PM
NotAfter: 6/5/2019 3:17 PM
Subject: CN=Company Certificate Subordinate Authority, OU=Information Systems, O=Company Org, C=US
Serial: 6123302d000200002e69
Template: SubCA
1b17a47351692f2a078dd5b75d3d11f30d3414d7
The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)
————————————
Revocation check skipped — server offline
Cert is a CA certificate

ERROR: Verifying leaf certificate revocation status returned The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)
CertUtil: The revocation function was unable to check revocation because the revocation server was offline.

CertUtil: -verify command completed successfully.

The problem CDP, as the single point of CRL checking was LDAP.

New Root CA Offline and LDAP does not write.

—————- Certificate CDP —————-
Failed «CDP» Time: 0
Error retrieving URL: The system can not find the file specified. 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)
ldap:///CN=Company%20Association%20Certificate%20Authority(1),CN=RootPKI,CN=CDP,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Company,DC=org?certificateRevocationList?base?objectClass=cRLDistributionPoint

Now it is necessary figure out how to write in this way CRL

Источник

Почему возникают ошибки SSL-соединения и как их исправить?

Зачастую после установки SSL-сертификатов многие пользователи сталкиваются с ошибками, которые препятствуют корректной работе защищенного протокола HTTPS.

Предлагаем разобраться со способами устранения подобных ошибок.

Что такое SSL?

SSL (Secure Socket Layer) — это интернет-протокол для создания зашифрованного соединения между пользователем и сервером, который гарантирует безопасную передачу данных.

Когда пользователь заходит на сайт, браузер запрашивает у сервера информацию о наличии сертификата. Если сертификат установлен, сервер отвечает положительно и отправляет копию SSL-сертификата браузеру. Затем браузер проверяет сертификат, название которого должно совпадать с именем сайта, срок действия сертификата и наличие корневого сертификата, выданного центром сертификации.

Причины возникновения ошибок SSL-соединения

Когда сертификат работает корректно, адресная строка браузера выглядит примерно так:

Но при наличии ошибок она выглядит несколько иначе:

Существует множество причин возникновения таких ошибок. К числу основных можно отнести:

  • Некорректную дату и время на устройстве (компьютер, смартфон, планшет и т.д.);
  • Ненадежный SSL-сертификат;
  • Брандмауэр или антивирус, блокирующие сайт;
  • Включенный экспериментальный интернет-протокол QUIC;
  • Отсутствие обновлений операционной системы;
  • Использование SSL-сертификата устаревшей версии 3.0;
  • Появление ошибки «Invalid CSR» при генерации сертификата из панели управления облачного провайдера.

Давайте рассмотрим каждую из них подробнее.

Проблемы с датой и временем

Если на устройстве установлены некорректные дата и время, ошибка SSL-соединения неизбежна, ведь при проверке сертификата происходит проверка срока его действия. Современные браузеры умеют определять такую ошибку самостоятельно и выводят сообщение о неправильно установленной дате или времени.

Для исправления этой ошибки достаточно установить на устройстве актуальное время. После этого необходимо перезагрузить страницу или браузер.

Ненадежный SSL-сертификат

Иногда при переходе на сайт, защищенный протоколом HTTPS, появляется ошибка «SSL-сертификат сайта не заслуживает доверия».

Одной из причин появления такой ошибки, как и в предыдущем случае, может стать неправильное время. Однако есть и вторая причина — браузеру не удается проверить цепочку доверия сертификата, потому что не хватает корневого сертификата. Для избавления от такой ошибки необходимо скачать специальный пакет GeoTrust Primary Certification Authority, содержащий корневые сертификаты. После скачивания переходим к установке. Для этого:

  • Нажимаем сочетание клавиш Win+R и вводим команду certmgr.msc, жмем «Ок». В Windows откроется центр сертификатов.
  • Раскрываем список «Доверенные корневые центры сертификации» слева, выбираем папку «Сертификаты», кликаем по ней правой кнопкой мышки и выбираем «Все задачи — импорт».

  • Запустится мастер импорта сертификатов. Жмем «Далее».

  • Нажимаем кнопку «Обзор» и указываем загруженный ранее сертификат. Нажимаем «Далее»:

  • В следующем диалоговом окне указываем, что сертификаты необходимо поместить в доверенные корневые центры сертификации, и нажимаем «Далее». Импорт должен успешно завершиться.

После вышеперечисленных действий можно перезагрузить устройство и проверить отображение сайта в браузере.

Брандмауэр или антивирус, блокирующие сайт

Некоторые сайты блокируются брандмауэром Windows. Для проверки можно отключить брандмауэр и попробовать зайти на нужный сайт. Если SSL-сертификат начал работать корректно, значит дело в брандмауэре. В браузере Internet Explorer вы можете внести некорректно работающий сайт в список надежных и проблема исчезнет. Однако таким образом вы снизите безопасность своего устройства, так как содержимое сайта может быть небезопасным, а контроль сайта теперь отключен.

Также SSL может блокировать антивирусная программа. Попробуйте отключить в антивирусе проверку протоколов SSL и HTTPS и зайти на сайт. При необходимости добавьте сайт в список исключений антивируса.

Включенный экспериментальный протокол QUIC

QUIC — это новый экспериментальный протокол, который нужен для быстрого подключения к интернету. Основная задача протокола QUIC состоит в поддержке нескольких соединений. Вы можете отключить этот протокол в конфигурации вашего браузера.

Показываем как отключить QUIC на примере браузера Google Chrome:

  • Откройте браузер и введите команду chrome://flags/#enable-quic;
  • В появившемся окне будет выделен параметр: Experimental QUIC protocol (Экспериментальный протокол QUIC). Под названием этого параметра вы увидите выпадающее меню, в котором нужно выбрать опцию: Disable.

  • После этого просто перезапустите браузер.

Этот способ работает и в Windows и в Mac OS.

Отсутствие обновлений операционной системы

Проблемы с SSL-сертификатами могут возникать и из-за того, что на вашей операционной системе давно не устанавливались обновлений. Особенно это касается устаревших версий Windows (7, Vista, XP и более ранние). Установите последние обновления и проверьте работу SSL.

Использование SSL-сертификата версии 3.0

Некоторые сайты используют устаревший SSL-протокол версии 3.0, который не поддерживают браузеры. По крайней мере, по умолчанию. Чтобы браузер поддерживал устаревший SSL необходимо сделать следующее (на примере браузера Google Chrome):

  • Откройте браузер и перейдите в раздел «Настройки».
  • Прокрутите страницу настроек вниз и нажмите «Дополнительные».
  • В разделе «Система» найдите параметр «Настройки прокси-сервера» и кликните на него.

  • Откроется окно. Перейдите на вкладку «Дополнительно».
  • В этой вкладке вы увидите чекбокс «SSL 3.0».

  • Поставьте галочку в чекбоксе, нажмите кнопку «Ок» и перезагрузите браузер.

Ошибки «Invalid CSR» при генерации сертификата из панели управления облачного провайдера

В процессе активации сертификата можно столкнуться с ошибкой «Invalid CSR». Такая ошибка возникает по следующим причинам:

Источник


Go to trucksim


TruckersMP login fail with antivirus on

“alizeSecurityContext failed: Unknown error (0x80092012)”

For those reading looking for solution, turn off your antivirus AND check win10 built in “Virus & threat protection” in control panel. There should be an item in Protection History which listed truckersmp being blocked for folder access. Click action and choose allow on this device! Then try logging in should now work.

========

So you know I got mine working already. I am here to ask for actual solution to have it work while keeping antivirus running.

I am new to truckersMP and had the above login error. After searching and ended up with above mentioned solution, I believe there must be a way to add exclusion or somewhat of the truckersmp to antivirus whitelist so it can run without compromising security. After all I game long hours and really not a good idea to leave my pc exposed all these time.

I am using Kaspersky Total Security and I must say I know very little about it. I installed it and leave it do its things. Occasionally see pop ups to ask if I want to trust this program and run it, then I response to it. But there is no such notification when I launch truckersmp and clearly something is blocked that cause the login error.

Can someone guide me to the proper setup in antivirus. I think it will benefit many here who face the same problem too.

Thanks in advance

Archived post. New comments cannot be posted and votes cannot be cast.

    This article is available in 13 languages:

  • English

  • Deutsch

  • Türkçe

  • Español

  • Nederlands

  • Français

  • Português

  • Čeština

  • Slovenčina

  • 中文(简体)

  • Български

  • فارسی

  • Magyar

Last update: 26 Mar 2021 17:10 UTC

Short link to this article: https://truckersmp.com/kb/786



https://cdn.discordapp.com/attachments/523811045970804748/672941430288941086/unknown.png

This error mostly gets caused by corrupted Windows data. It is not really a custom TruckersMP error, however, there are several solutions which could solve this error.

Solutions

  • Open your windows date and time settings (To do this, right click on the date and time in the bottom right corner) —> https://i.imgur.com/6qsP0tY.png. Note down your current settings.
  • Now change your time to the attempts listed below. Please try to start TruckersMP after each attempt. Remember to launch TruckersMP as Administrator!

Attempt 1

  • Set «Set time automatically» to OFF.
  • Set «Set time zone automatically» to OFF.
  • Change your time / date to any date («Change date and time»).
  • Restart your PC and try to launch TruckersMP.

Attempt 2

  • Set «Set time automatically» and «Set time zone automatically» to ON again.
  • Restart your PC and try to launch TruckersMP.

Attempt 3

  • Set «Set time automatically» to OFF.
  • Set «Set time zone automatically» to OFF.
  • Change the date and time of your PC to the current real date / time of your location.
  • Restart your PC and try to launch TruckersMP.

In case none of these steps has resolved your issue, set your settings back to the ones you had at the beginning and contact our support team here. If you need help with creating a ticket, take a look at this article

If the schannel backend is used and the user does not specify a bundle of certificates then libcurl uses the default OS certificate store with SCH_CRED_REVOCATION_CHECK_CHAIN which is documented as «When validating a certificate chain, check all certificates for revocation.»

Code for SCH_CRED_REVOCATION_CHECK_CHAIN

if(conn->ssl_config.verifypeer) {
#ifdef HAS_MANUAL_VERIFY_API
if(BACKEND->use_manual_cred_validation)
schannel_cred.dwFlags = SCH_CRED_MANUAL_CRED_VALIDATION;
else
#endif
schannel_cred.dwFlags = SCH_CRED_AUTO_CRED_VALIDATION;
/* TODO s/data->set.ssl.no_revoke/SSL_SET_OPTION(no_revoke)/g */
if(data->set.ssl.no_revoke) {
schannel_cred.dwFlags |= SCH_CRED_IGNORE_NO_REVOCATION_CHECK |
SCH_CRED_IGNORE_REVOCATION_OFFLINE;
DEBUGF(infof(data, «schannel: disabled server certificate revocation «
«checksn«));
}
else {
schannel_cred.dwFlags |= SCH_CRED_REVOCATION_CHECK_CHAIN;
DEBUGF(infof(data,
«schannel: checking server certificate revocationn«));
}
}
else {
schannel_cred.dwFlags = SCH_CRED_MANUAL_CRED_VALIDATION |
SCH_CRED_IGNORE_NO_REVOCATION_CHECK |
SCH_CRED_IGNORE_REVOCATION_OFFLINE;
DEBUGF(infof(data,
«schannel: disabled server cert revocation checksn«));
}

If the schannel backend is used and the user specifies a bundle of certificates (eg CAINFO) then libcurl ignores the OS certificate store and uses the bundle with CERT_CHAIN_REVOCATION_CHECK_CHAIN which is basically the same thing, documented as «Revocation checking is done on all of the certificates in every chain.»

Code for CERT_CHAIN_REVOCATION_CHECK_CHAIN

if(result == CURLE_OK) {
CERT_CHAIN_PARA ChainPara;
memset(&ChainPara, 0, sizeof(ChainPara));
ChainPara.cbSize = sizeof(ChainPara);
if(!CertGetCertificateChain(cert_chain_engine,
pCertContextServer,
NULL,
pCertContextServer->hCertStore,
&ChainPara,
(data->set.ssl.no_revoke ? 0 :
CERT_CHAIN_REVOCATION_CHECK_CHAIN),
NULL,
&pChainContext)) {
char buffer[STRERROR_LEN];
failf(data, «schannel: CertGetCertificateChain failed: %s«,
Curl_strerror(GetLastError(), buffer, sizeof(buffer)));
pChainContext = NULL;
result = CURLE_PEER_FAILED_VERIFICATION;
}
if(result == CURLE_OK) {
CERT_SIMPLE_CHAIN *pSimpleChain = pChainContext->rgpChain[0];
DWORD dwTrustErrorMask = ~(DWORD)(CERT_TRUST_IS_NOT_TIME_NESTED);
dwTrustErrorMask &= pSimpleChain->TrustStatus.dwErrorStatus;
if(dwTrustErrorMask) {
if(dwTrustErrorMask & CERT_TRUST_IS_REVOKED)
failf(data, «schannel: CertGetCertificateChain trust error«
« CERT_TRUST_IS_REVOKED«);
else if(dwTrustErrorMask & CERT_TRUST_IS_PARTIAL_CHAIN)
failf(data, «schannel: CertGetCertificateChain trust error«
« CERT_TRUST_IS_PARTIAL_CHAIN«);
else if(dwTrustErrorMask & CERT_TRUST_IS_UNTRUSTED_ROOT)
failf(data, «schannel: CertGetCertificateChain trust error«
« CERT_TRUST_IS_UNTRUSTED_ROOT«);
else if(dwTrustErrorMask & CERT_TRUST_IS_NOT_TIME_VALID)
failf(data, «schannel: CertGetCertificateChain trust error«
« CERT_TRUST_IS_NOT_TIME_VALID«);
else if(dwTrustErrorMask & CERT_TRUST_REVOCATION_STATUS_UNKNOWN)
failf(data, «schannel: CertGetCertificateChain trust error«
« CERT_TRUST_REVOCATION_STATUS_UNKNOWN«);
else
failf(data, «schannel: CertGetCertificateChain error mask: 0x%08x«,
dwTrustErrorMask);
result = CURLE_PEER_FAILED_VERIFICATION;
}
}
}

Whether or not certificates without revocation points (any point like AIA or CRL or whatever) are accepted is unclear. Based on what you are describing it’s likely schannel using such a revocation check must allow for root certificates without any revocation point but not leaf certificates without any revocation point, at least in Windows 10.

Also review Can’t connect to Fiddler proxy if using WinSSL backend which is why I added —ssl-no-revoke (I had forgot or I would’ve mentioned it yesterday). You’ll notice in that issue I said:

schannel is returning CRYPT_E_NO_REVOCATION_CHECK likely because we pass SCH_CRED_REVOCATION_CHECK_CHAIN in schannel_connect_step1 and in that case schannel requires all root CAs to have some sort of revocation detail when that flag is passed.

Based on what you describe I guess I’m wrong or it’s not consistent between OS versions.

Setup cURL in Windows

cURL (client URL) is a command line tool that system admins and developers use to transfer data between server and client in the form of a URL. It supports several different protocols and has a variety of applications. I will not cover the details and applications of cRUL here. If you’re already on this page, I am assuming you know how to use it. Learn how to use curl in Windows if you are just getting started with it.

cURL in Windows 10 version 1803 or higher

Starting with Windows 10 (version 1803) or Server 2019, you will find curl.exe pre-installed in your %systemroot%System32 directory by default. This guide is useful if you are on an older Windows version or you want to use the latest curl version from official website, which supports more protocols than the built-in curl version. I will also cover how to fix some most common errors that you might face while using cURL in Windows.

Most Common Errors with Secure Websites

You will get a whole lot of different errors while using secure URLs with cURL. So if you’re getting any error among the below mentioned errors, you are on the right page.

curl: (35) schannel: next InitializeSecurityContext failed

curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

curl - (35) schannel - next InitializeSecurityContext failed - Unknown error (0x80092012)

If you get this error message, it indicates that curl was unable to check revocation for the certificate which is the default behavior when it comes to communication with secure websites. Even though you could easily circumvent this error by using the --ssl-no-revoke argument with curl command but it becomes tedious when you use curl command a lot. The following command shows how to bypass this error:

curl --ssl-no-revoke --head https://www.techtutsonline.com/

To learn how to get around this error once and for all – without having to specify the --ssl-no-revoke argument each time, see the Setup the latest version of cURL in Windows section.

curl: (60) SSL certificate problem

curl: (60) SSL certificate problem: unable to get local issuer certificate

curl - (60) SSL certificate problem - unable to get local issuer certificate

If you get this error, it means there is something wrong with root certificate that curl is using on your local system. To get around this error, you could use the --insecure (or -k for short) argument with curl command as shown in the following command:

curl --insecure https://www.techtutsonline.com/

Again, to learn how to get around this error once and for all, see the Setup the latest version of cURL in Windows section.

curl: (60) schannel: CertGetCertificateChain trust error

curl: (60) schannel: CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT

curl - (60) schannel - CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT

If you see this error, it means the root CA that curl is configured to use is untrusted. It may be using a self-signed certificate or the certificate is no longer valid. This error can also be bypassed by using the --insecure argument with curl command as shown in previous example.

Setup the latest version of cURL in Windows

Depending upon the edition of your Windows, you can download the latest version of cURL from the official website using the following links:

  • For 64-bit Windows
  • For 32-bit Windows

It will download a zip archive. There is no installer in this file so you will have to manually set the PATH environment for curl.exe binary. Once downloaded, you can extract the zip archive to any folder of your choice. I extracted mine inside D:WORKSOFTWAREcurl-7.81.0-win64 directory. Your directory should look like shown in the following screenshot:

curl directory path

Now to set the PATH environment variable, open RUN dialog (WinLogoKey+R), type “sysdm.cpl ,3” without quotes and press enter. This will open up advanced system properties page. Now follow the steps mentioned in the screenshot and click on OK thrice to save the changes.

Add CURL to Path Environment VariableMake sure you specify the correct path to bin directory in STEP 5. I added D:WORKSOFTWAREcurl-7.81.0-win64bin in my case.

When this is done, curl is ready to be used on your system. To confirm, you can open the command prompt and type curl --version command. If you see the curl version as shown in the following image, you’re all set to go to next step:
Check curl version
If you get an error that says ‘curl’ is not recognized as an internal or external command, operable program or batch file, it means something is wrong with the PATH environment variable you created.
'curl' is not recognized as an internal or external command, operable program or batch file
If you see this error, please follow the steps mentioned in this video to properly setup your PATH environment variable.

Certificate Setup for cURL

Now comes the most important part. At this point, when you try any secure URL with curl command, you will most probably get an error as we discussed in past sections. To permanently fix those SSL errors, you need to download the CA certificate file from official website and configure the curl on your system to use that certificate file. To do that, follow these steps:

  1. First of all, download the CA certificate file and copy it into the same directory where curl.exe file is available. To get the location of curl.exe, you could simply type where curl command in your command prompt.
    locate curl curl
  2. Now create a new file named .curlrc in the same directory as that of curl.exe. In the end, your curl directory should look like shown in the following image:
    set curl to use the cacert in .curlrc file
  3. Now open the .curlrc file in notepad (or any other text editor) and set the complete path of root certificate file that you downloaded in first step. See the screenshot for reference:
    set cacert path in .curlrc file
    Please remember to use the forward slash (/) while specifying directory path as shown below otherwise it won’t work:

    cacert = "D:/WORK/SOFTWARE/curl-7.81.0-win64/bin/cacert.pem"
    
  4. [optional] If you’re using Windows 10 (version 1803) or higher, your system will most likely have curl.exe in %systemroot%System32 directory as well. When you will run curl command without explicitly specifying the complete path to curl.exe executable, your system will use the default executable located in %systemroot%System32. If this is true you will see curl.exe twice when you run where curl command. See the following image for reference:
    locate curl executable duplicate
    If you see the same, you need to get rid of default curl.exe that comes with Windows. You can take the ownership of file, set the permissions and then rename the file with the help of following commands:

    cd C:WindowsSystem32 
    takeown /a /f curl.exe
    icacls curl.exe /grant administrators:F
    ren curl.exe curl.exe.bak

    Make sure you run these commands in an elevated command prompt. See the following screenshot for reference:
    take ownership of default curl and rename

  5. Once you successfully rename the default curl.exe executable, you should see a single instance of curl.exe when running where curl command.
  6. Your system is now all set and you can start using curl without any SSL error. The following screenshot shows that I no longer get any SSL error and I don’t have to use the --insecure or --ssl-no-revoke arguments anymore.
    curl -I https://www.techtutsonline.com/

    curl success

Содержание

  1. Setup cURL in Windows
  2. Setup cURL in Windows
  3. cURL in Windows 10 version 1803 or higher
  4. Most Common Errors with Secure Websites
  5. curl: (35) schannel: next InitializeSecurityContext failed
  6. curl: (60) SSL certificate problem
  7. curl: (60) schannel: CertGetCertificateChain trust error
  8. Setup the latest version of cURL in Windows
  9. Certificate Setup for cURL
  10. curl-library
  11. Man-in-the-middle proxies dont work with CURL + WinSSL #3727
  12. Comments
  13. I did this
  14. Also tested with custom proxy server instead of Fiddler
  15. curl version
  16. operating system
  17. These are configurations that I know don’t work and produces 0x80092012 error:
  18. These work without any errors with CURL + WinSSL and default revocation checks:

Setup cURL in Windows

Setup cURL in Windows

Table of Contents

cURL (client URL) is a command line tool that system admins and developers use to transfer data between server and client in the form of a URL. It supports several different protocols and has a variety of applications. I will not cover the details and applications of cRUL here. If you’re already on this page, I am assuming you know how to use it. Learn how to use curl in Windows if you are just getting started with it.

cURL in Windows 10 version 1803 or higher

Starting with Windows 10 (version 1803) or Server 2019, you will find curl.exe pre-installed in your %systemroot%System32 directory by default. This guide is useful if you are on an older Windows version or you want to use the latest curl version from official website, which supports more protocols than the built-in curl version. I will also cover how to fix some most common errors that you might face while using cURL in Windows.

Most Common Errors with Secure Websites

You will get a whole lot of different errors while using secure URLs with cURL. So if you’re getting any error among the below mentioned errors, you are on the right page.

curl: (35) schannel: next InitializeSecurityContext failed

If you get this error message, it indicates that curl was unable to check revocation for the certificate which is the default behavior when it comes to communication with secure websites. Even though you could easily circumvent this error by using the —ssl-no-revoke argument with curl command but it becomes tedious when you use curl command a lot. The following command shows how to bypass this error:

To learn how to get around this error once and for all – without having to specify the —ssl-no-revoke argument each time, see the Setup the latest version of cURL in Windows section.

curl: (60) SSL certificate problem

If you get this error, it means there is something wrong with root certificate that curl is using on your local system. To get around this error, you could use the —insecure (or -k for short) argument with curl command as shown in the following command:

Again, to learn how to get around this error once and for all, see the Setup the latest version of cURL in Windows section.

curl: (60) schannel: CertGetCertificateChain trust error

If you see this error, it means the root CA that curl is configured to use is untrusted. It may be using a self-signed certificate or the certificate is no longer valid. This error can also be bypassed by using the —insecure argument with curl command as shown in previous example.

Setup the latest version of cURL in Windows

Depending upon the edition of your Windows, you can download the latest version of cURL from the official website using the following links:

It will download a zip archive. There is no installer in this file so you will have to manually set the PATH environment for curl.exe binary. Once downloaded, you can extract the zip archive to any folder of your choice. I extracted mine inside D:WORKSOFTWAREcurl-7.81.0-win64 directory. Your directory should look like shown in the following screenshot:

Now to set the PATH environment variable, open RUN dialog (WinLogoKey+R), type “sysdm.cpl ,3” without quotes and press enter. This will open up advanced system properties page. Now follow the steps mentioned in the screenshot and click on OK thrice to save the changes.

Make sure you specify the correct path to bin directory in STEP 5. I added D:WORKSOFTWAREcurl-7.81.0-win64bin in my case.

When this is done, curl is ready to be used on your system. To confirm, you can open the command prompt and type curl —version command. If you see the curl version as shown in the following image, you’re all set to go to next step:

If you get an error that says ‘curl’ is not recognized as an internal or external command, operable program or batch file, it means something is wrong with the PATH environment variable you created.

If you see this error, please follow the steps mentioned in this video to properly setup your PATH environment variable.

Certificate Setup for cURL

Now comes the most important part. At this point, when you try any secure URL with curl command, you will most probably get an error as we discussed in past sections. To permanently fix those SSL errors, you need to download the CA certificate file from official website and configure the curl on your system to use that certificate file. To do that, follow these steps:

  1. First of all, download the CA certificate file and copy it into the same directory where curl.exe file is available. To get the location of curl.exe, you could simply type where curl command in your command prompt.
  2. Now create a new file named .curlrc in the same directory as that of curl.exe. In the end, your curl directory should look like shown in the following image:
  3. Now open the .curlrc file in notepad (or any other text editor) and set the complete path of root certificate file that you downloaded in first step. See the screenshot for reference:

    Please remember to use the forward slash (/) while specifying directory path as shown below otherwise it won’t work:

[optional] If you’re using Windows 10 (version 1803) or higher, your system will most likely have curl.exe in %systemroot%System32 directory as well. When you will run curl command without explicitly specifying the complete path to curl.exe executable, your system will use the default executable located in %systemroot%System32. If this is true you will see curl.exe twice when you run where curl command. See the following image for reference:

If you see the same, you need to get rid of default curl.exe that comes with Windows. You can take the ownership of file, set the permissions and then rename the file with the help of following commands:

Make sure you run these commands in an elevated command prompt. See the following screenshot for reference:

  • Once you successfully rename the default curl.exe executable, you should see a single instance of curl.exe when running where curl command.
  • Your system is now all set and you can start using curl without any SSL error. The following screenshot shows that I no longer get any SSL error and I don’t have to use the —insecure or —ssl-no-revoke arguments anymore.

    Источник

    curl-library

    I know people have had problems with this before and I did my googling about it, but I don’t really understand how to solve this problem because in my case it’s particularly weird. Consider this little snippet:

    static void tryconnect(const char *address)
    <
    CURL *curl = curl_easy_init();
    CURLcode res;
    char buf[CURL_ERROR_SIZE];

    curl_easy_setopt(curl, CURLOPT_URL, address);
    curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 1);
    curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, buf);

    printf(«Trying %s «, address);
    if(!(res = curl_easy_perform(curl))) <
    printf(«OK!n»);
    > else <
    printf(«FAIL: %d %sn», res, buf);
    >

    int main(int argc, char *argv[])
    <
    curl_global_init(CURL_GLOBAL_DEFAULT);
    tryconnect(«https://www.hollywood-mal.de/»); —> works!
    tryconnect(«https://www.hollywood-mal.com/»); —> fails with schannel error
    curl_global_cleanup();
    return 0;
    >

    Why on earth does https://www.hollywood-mal.de/ work fine and https://www.hollywood-mal.com/ doesn’t work at all? I’m the owner of both domains and they are hosted by the very same company with the very same settings, yet one works, and the other one doesn’t. Of course, in a browser both work fine, but with curl only the *.de one works, the *.com one fails.

    This is the output:

    Trying https://www.hollywood-mal.de/ OK!
    Trying https://www.hollywood-mal.com/ FAIL: 35 schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) — Die Sperrfunktion konnte die Sperrung nicht ГјberprГјfen, da der Sperrserver offline war. (NB: In English the error is probably «schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) — The revocation function was unable to check revocation because the revocation server was offline.»)

    How can I solve this please? Some people seem to be suggesting to use the OpenSSL backend instead of schannel but is this really the only way to go? Isn’t this possible with in-house Windows solutions?

    Источник

    Man-in-the-middle proxies dont work with CURL + WinSSL #3727

    We have users that use company wide man-in-the-middle proxies for internal security. However client software with libCURL + WinSSL reports following error in their environments:

    schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) — The revocation function was unable to check revocation for the certificate.

    All other Windows software work fine. It is also reproducable with Fiddler acting as decrypting proxy — as discussed in this issue #264

    While solution was implemented:
    curl_easy_setopt(m_curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NO_REVOKE);

    I would argue that this is not enough, especially as it makes CURL + WinSSL software act different from other Windows based software and reduces security.

    I did this

    1. Run Fiddler
    2. set CURL_SSL_BACKEND=Schannel
    3. curl https://google.com -x 127.0.0.1:8888
      (Got 0x80092012 error)
    4. curl https://google.com -x 127.0.0.1:8888 —ssl-no-revoke
      (Succeeded as expected)
    5. curl https://revoked.badssl.com/ —ssl-no-revoke
      (Succeeded, but there should be option to not allow this)

    Also tested with custom proxy server instead of Fiddler

    1. Self signed Root CA certificate
      OpenSSL can be used to generate it.
      Easy-RSA utility simplifies that process, more documentation can be found here:
      https://github.com/OpenVPN/easy-rsa/blob/master/README.quickstart.md
      CA certificate should have revocation list configured
    2. Burp configured as a proxy with previously generated certificate imported.
    3. On client machine Root CA certificate has to be installed into Trusted Root Authorities store.
    4. curl https://google.com -x ProxyServerUrl:ProxyPort
      (Got 0x80092012 error)

    curl version

    curl 7.64.0 (x86_64-pc-win32) libcurl/7.64.0 (OpenSSL/1.1.1a) Schannel zlib/1.2.11 brotli/1.0.7 WinIDN libssh2/1.8.0 nghttp2/1.36.0
    Release-Date: 2019-02-06
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz brotli TLS-SRP HTTP2 MultiSSL

    operating system

    Microsoft Windows [Version 10.0.17134.648]

    The text was updated successfully, but these errors were encountered:

    It’s possible that if a certificate in a chain does not have any revocation point and revocation checks are enabled then the call will fail. The root certificate is checked for revocation as well. Confirm by dumping the chain and inspecting it, and inspect the root certificate. Short of writing our own manual verification process and iterating through each certificate to check revocation I don’t see how we could distinguish certs with no revocation points from certs that have revocation points but aren’t available for whatever reason.

    Using —ssl-no-revoke to disable revocation checking by curl schannel of your generated MITM certificates is practical for a case like this. Fiddler does its own schannel revocation check of the actual certificates if you enable it (but I think it’s only interactive). Burp may be similar.

    5. curl https://revoked.badssl.com/ —ssl-no-revoke
    (Succeeded, but there should be option to not allow this)

    That’s exactly how it works and how it should work.

    To clarify — are we are talking about «CRL Distribution Points» field in certificate? One from *.google.com:

    These are configurations that I know don’t work and produces 0x80092012 error:

    Fiddler overrides with certificates without any CRL values. Chain looks like:
    DO_NOT_TRUST_FiddlerRoot [No CRL] -> *.service.com [No CRL]

    Certificate chain from user (behind proxy):
    User-root-CA [No CRL] -> User-CA [CRL] -> *.service.com [No CRL]

    Certificate using our test proxy:
    TestProxyRoot-CA [CRL] -> *.service.com [No CRL]

    These work without any errors with CURL + WinSSL and default revocation checks:

    And if connecting CURL to service directly:
    DigiCert [No CRL] -> DigiCert CA [CRL] -> *.service.com [CRL]

    Also we have our internal testing services like this:
    Our-root-CA [No CRL] -> Our CA [CRL] -> *.test-service.com [CRL]

    So there is variety of configurations, but both failing ones have no CRL in end-entity (*.service.com) certificates. Can that be what is causing it?

    If the schannel backend is used and the user does not specify a bundle of certificates then libcurl uses the default OS certificate store with SCH_CRED_REVOCATION_CHECK_CHAIN which is documented as «When validating a certificate chain, check all certificates for revocation.»

    Code for SCH_CRED_REVOCATION_CHECK_CHAIN

    Lines 517 to 545 in 521bbbe

    if (conn-> ssl_config . verifypeer ) <
    # ifdef HAS_MANUAL_VERIFY_API
    if (BACKEND-> use_manual_cred_validation )
    schannel_cred. dwFlags = SCH_CRED_MANUAL_CRED_VALIDATION;
    else
    # endif
    schannel_cred. dwFlags = SCH_CRED_AUTO_CRED_VALIDATION;
    /* TODO s/data->set.ssl.no_revoke/SSL_SET_OPTION(no_revoke)/g */
    if (data-> set . ssl . no_revoke ) <
    schannel_cred. dwFlags |= SCH_CRED_IGNORE_NO_REVOCATION_CHECK |
    SCH_CRED_IGNORE_REVOCATION_OFFLINE;
    DEBUGF ( infof (data, » schannel: disabled server certificate revocation «
    » checks n » ));
    >
    else <
    schannel_cred. dwFlags |= SCH_CRED_REVOCATION_CHECK_CHAIN;
    DEBUGF ( infof (data,
    » schannel: checking server certificate revocation n » ));
    >
    >
    else <
    schannel_cred. dwFlags = SCH_CRED_MANUAL_CRED_VALIDATION |
    SCH_CRED_IGNORE_NO_REVOCATION_CHECK |
    SCH_CRED_IGNORE_REVOCATION_OFFLINE;
    DEBUGF ( infof (data,
    » schannel: disabled server cert revocation checks n » ));
    >

    If the schannel backend is used and the user specifies a bundle of certificates (eg CAINFO) then libcurl ignores the OS certificate store and uses the bundle with CERT_CHAIN_REVOCATION_CHECK_CHAIN which is basically the same thing, documented as «Revocation checking is done on all of the certificates in every chain.»

    Code for CERT_CHAIN_REVOCATION_CHECK_CHAIN

    Lines 498 to 546 in 521bbbe

    if (result == CURLE_OK) <
    CERT_CHAIN_PARA ChainPara;
    memset (&ChainPara, 0 , sizeof (ChainPara));
    ChainPara. cbSize = sizeof (ChainPara);
    if (! CertGetCertificateChain (cert_chain_engine,
    pCertContextServer,
    NULL ,
    pCertContextServer-> hCertStore ,
    &ChainPara,
    (data-> set . ssl . no_revoke ? 0 :
    CERT_CHAIN_REVOCATION_CHECK_CHAIN),
    NULL ,
    &pChainContext)) <
    char buffer[STRERROR_LEN];
    failf (data, » schannel: CertGetCertificateChain failed: %s » ,
    Curl_strerror ( GetLastError (), buffer, sizeof (buffer)));
    pChainContext = NULL ;
    result = CURLE_PEER_FAILED_VERIFICATION;
    >
    if (result == CURLE_OK) <
    CERT_SIMPLE_CHAIN *pSimpleChain = pChainContext-> rgpChain [ 0 ];
    DWORD dwTrustErrorMask =

    (DWORD)(CERT_TRUST_IS_NOT_TIME_NESTED); dwTrustErrorMask &= pSimpleChain-> TrustStatus . dwErrorStatus ; if (dwTrustErrorMask) < if (dwTrustErrorMask & CERT_TRUST_IS_REVOKED) failf (data, » schannel: CertGetCertificateChain trust error « » CERT_TRUST_IS_REVOKED » ); else if (dwTrustErrorMask & CERT_TRUST_IS_PARTIAL_CHAIN) failf (data, » schannel: CertGetCertificateChain trust error « » CERT_TRUST_IS_PARTIAL_CHAIN » ); else if (dwTrustErrorMask & CERT_TRUST_IS_UNTRUSTED_ROOT) failf (data, » schannel: CertGetCertificateChain trust error « » CERT_TRUST_IS_UNTRUSTED_ROOT » ); else if (dwTrustErrorMask & CERT_TRUST_IS_NOT_TIME_VALID) failf (data, » schannel: CertGetCertificateChain trust error « » CERT_TRUST_IS_NOT_TIME_VALID » ); else if (dwTrustErrorMask & CERT_TRUST_REVOCATION_STATUS_UNKNOWN) failf (data, » schannel: CertGetCertificateChain trust error « » CERT_TRUST_REVOCATION_STATUS_UNKNOWN » ); else failf (data, » schannel: CertGetCertificateChain error mask: 0x %08x » , dwTrustErrorMask); result = CURLE_PEER_FAILED_VERIFICATION; > > >

    Whether or not certificates without revocation points (any point like AIA or CRL or whatever) are accepted is unclear. Based on what you are describing it’s likely schannel using such a revocation check must allow for root certificates without any revocation point but not leaf certificates without any revocation point, at least in Windows 10.

    Also review Can’t connect to Fiddler proxy if using WinSSL backend which is why I added —ssl-no-revoke (I had forgot or I would’ve mentioned it yesterday). You’ll notice in that issue I said:

    schannel is returning CRYPT_E_NO_REVOCATION_CHECK likely because we pass SCH_CRED_REVOCATION_CHECK_CHAIN in schannel_connect_step1 and in that case schannel requires all root CAs to have some sort of revocation detail when that flag is passed.

    Based on what you describe I guess I’m wrong or it’s not consistent between OS versions.

    P.S. I fixed my top issue description to refer to #264 . pasted wrong link before. I was aware about that issue/fix and wanted followup — as it affects more usual proxy configurations, not only Fiddler.

    It seems that original issue #264 was not related to root certificate CRLs at all, Fiddler would also make end-entity (leaf) certificates without CRLs as well. Or was there clarification that exactly root certificate checks caused #264 ?

    Is there any way to skip end-entity certificate revocation checks if there is none in curl/winssl?

    Major reason for this is that all Windows based software works fine with these configurations, but then software that is built on top of CURL + WinSSL is seen as wrong at the end user.

    On related note, CRL server offline errors are usually ignored by most of Windows software, but not CURL + WinSSL. While this is much less important, it is inconsistency as well.

    It seems that original issue #264 was not related to root certificate CRLs at all, Fiddler would also make end-entity (leaf) certificates without CRLs as well. Or was there clarification that exactly root certificate checks caused #264 ?

    The reporter in #264 didn’t respond to the report so I don’t know. It’s not documented what happens when a certificate is missing any revocation point and revocation checks are enabled. It most likely falls under the no revocation check error. We have some empirical results here and in the other issue but that’s about it. It may be different depending on OS version.

    Is there any way to skip end-entity certificate revocation checks if there is none in curl/winssl?

    Disable revocation checks in curl using —ssl-no-revoke. Whether or not your MITM does actual revocation checks is outside of curl’s control.

    Major reason for this is that all Windows based software works fine with these configurations, but then software that is built on top of CURL + WinSSL is seen as wrong at the end user.

    Yeah I’d imagine most developers implement soft revocation checking where it tries and if it cannot succeed it continues with the connection anyway. curl does not do that as I discussed in the other issue, you can have it either fully on or fully off when Schannel is used as the backend in Windows.

    Источник

  • Setup cURL in Windows

    cURL (client URL) is a command line tool that system admins and developers use to transfer data between server and client in the form of a URL. It supports several different protocols and has a variety of applications. I will not cover the details and applications of cRUL here. If you’re already on this page, I am assuming you know how to use it. Learn how to use curl in Windows if you are just getting started with it.

    cURL in Windows 10 version 1803 or higher

    Starting with Windows 10 (version 1803) or Server 2019, you will find curl.exe pre-installed in your %systemroot%System32 directory by default. This guide is useful if you are on an older Windows version or you want to use the latest curl version from official website, which supports more protocols than the built-in curl version. I will also cover how to fix some most common errors that you might face while using cURL in Windows.

    Most Common Errors with Secure Websites

    You will get a whole lot of different errors while using secure URLs with cURL. So if you’re getting any error among the below mentioned errors, you are on the right page.

    curl: (35) schannel: next InitializeSecurityContext failed

    curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

    curl - (35) schannel - next InitializeSecurityContext failed - Unknown error (0x80092012)

    If you get this error message, it indicates that curl was unable to check revocation for the certificate which is the default behavior when it comes to communication with secure websites. Even though you could easily circumvent this error by using the --ssl-no-revoke argument with curl command but it becomes tedious when you use curl command a lot. The following command shows how to bypass this error:

    curl --ssl-no-revoke --head https://www.techtutsonline.com/

    To learn how to get around this error once and for all – without having to specify the --ssl-no-revoke argument each time, see the Setup the latest version of cURL in Windows section.

    curl: (60) SSL certificate problem

    curl: (60) SSL certificate problem: unable to get local issuer certificate

    curl - (60) SSL certificate problem - unable to get local issuer certificate

    If you get this error, it means there is something wrong with root certificate that curl is using on your local system. To get around this error, you could use the --insecure (or -k for short) argument with curl command as shown in the following command:

    curl --insecure https://www.techtutsonline.com/

    Again, to learn how to get around this error once and for all, see the Setup the latest version of cURL in Windows section.

    curl: (60) schannel: CertGetCertificateChain trust error

    curl: (60) schannel: CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT

    curl - (60) schannel - CertGetCertificateChain trust error CERT_TRUST_IS_UNTRUSTED_ROOT

    If you see this error, it means the root CA that curl is configured to use is untrusted. It may be using a self-signed certificate or the certificate is no longer valid. This error can also be bypassed by using the --insecure argument with curl command as shown in previous example.

    Setup the latest version of cURL in Windows

    Depending upon the edition of your Windows, you can download the latest version of cURL from the official website using the following links:

    • For 64-bit Windows
    • For 32-bit Windows

    It will download a zip archive. There is no installer in this file so you will have to manually set the PATH environment for curl.exe binary. Once downloaded, you can extract the zip archive to any folder of your choice. I extracted mine inside D:WORKSOFTWAREcurl-7.81.0-win64 directory. Your directory should look like shown in the following screenshot:

    curl directory path

    Now to set the PATH environment variable, open RUN dialog (WinLogoKey+R), type “sysdm.cpl ,3” without quotes and press enter. This will open up advanced system properties page. Now follow the steps mentioned in the screenshot and click on OK thrice to save the changes.

    Add CURL to Path Environment VariableMake sure you specify the correct path to bin directory in STEP 5. I added D:WORKSOFTWAREcurl-7.81.0-win64bin in my case.

    When this is done, curl is ready to be used on your system. To confirm, you can open the command prompt and type curl --version command. If you see the curl version as shown in the following image, you’re all set to go to next step:
    Check curl version
    If you get an error that says ‘curl’ is not recognized as an internal or external command, operable program or batch file, it means something is wrong with the PATH environment variable you created.
    'curl' is not recognized as an internal or external command, operable program or batch file
    If you see this error, please follow the steps mentioned in this video to properly setup your PATH environment variable.

    Certificate Setup for cURL

    Now comes the most important part. At this point, when you try any secure URL with curl command, you will most probably get an error as we discussed in past sections. To permanently fix those SSL errors, you need to download the CA certificate file from official website and configure the curl on your system to use that certificate file. To do that, follow these steps:

    1. First of all, download the CA certificate file and copy it into the same directory where curl.exe file is available. To get the location of curl.exe, you could simply type where curl command in your command prompt.
      locate curl curl
    2. Now create a new file named .curlrc in the same directory as that of curl.exe. In the end, your curl directory should look like shown in the following image:
      set curl to use the cacert in .curlrc file
    3. Now open the .curlrc file in notepad (or any other text editor) and set the complete path of root certificate file that you downloaded in first step. See the screenshot for reference:
      set cacert path in .curlrc file
      Please remember to use the forward slash (/) while specifying directory path as shown below otherwise it won’t work:

      cacert = "D:/WORK/SOFTWARE/curl-7.81.0-win64/bin/cacert.pem"
      
    4. [optional] If you’re using Windows 10 (version 1803) or higher, your system will most likely have curl.exe in %systemroot%System32 directory as well. When you will run curl command without explicitly specifying the complete path to curl.exe executable, your system will use the default executable located in %systemroot%System32. If this is true you will see curl.exe twice when you run where curl command. See the following image for reference:
      locate curl executable duplicate
      If you see the same, you need to get rid of default curl.exe that comes with Windows. You can take the ownership of file, set the permissions and then rename the file with the help of following commands:

      cd C:WindowsSystem32 
      takeown /a /f curl.exe
      icacls curl.exe /grant administrators:F
      ren curl.exe curl.exe.bak

      Make sure you run these commands in an elevated command prompt. See the following screenshot for reference:
      take ownership of default curl and rename

    5. Once you successfully rename the default curl.exe executable, you should see a single instance of curl.exe when running where curl command.
    6. Your system is now all set and you can start using curl without any SSL error. The following screenshot shows that I no longer get any SSL error and I don’t have to use the --insecure or --ssl-no-revoke arguments anymore.
      curl -I https://www.techtutsonline.com/

      curl success

    Содержание

    1. AutoCAD
    2. Проблема
    3. Подключитесь к Интернету, чтобы продолжить
    4. Причины:
    5. Решение
    6. Чтобы восстановить корневые сертификаты, выполните следующие действия.
    7. Код ошибки 0x80092012 запрос на ssl соединение не удалось выполнить
    8. Answered by:
    9. Question
    10. Answers
    11. All replies
    12. Почему возникают ошибки SSL-соединения и как их исправить?
    13. Что такое SSL?
    14. Причины возникновения ошибок SSL-соединения
    15. Проблемы с датой и временем
    16. Ненадежный SSL-сертификат
    17. Брандмауэр или антивирус, блокирующие сайт
    18. Включенный экспериментальный протокол QUIC
    19. Отсутствие обновлений операционной системы
    20. Использование SSL-сертификата версии 3.0
    21. Ошибки «Invalid CSR» при генерации сертификата из панели управления облачного провайдера

    AutoCAD

    Автор:

    Проблема

    При запуске программы Autodesk для Windows отображается следующее сообщение об ошибке:

    Подключитесь к Интернету, чтобы продолжить

    Не удалось обнаружить сервер лицензий Autodesk. Эта проблема может возникать по разным причинам, в том числе по указанным ниже.

    • Прервано подключение к Интернету.
    • Сервер лицензий Autodesk временно недоступен.

    В службе просмотра событий Windows может отображаться следующая ошибка:

    Причины:

    Скомпрометированные корневые сертификаты для программ с серийными номерами по подписке с однопользовательским доступом.

    Решение

    Функция HTTPS Inspection может привести к ошибке в процессе проверки отзыва сертификата.

    • Отключите эту функцию для *.autodesk.com.

    Чтобы восстановить корневые сертификаты, выполните следующие действия.

    1. Установите обновления протокола TLS (Transport Layer Security), соответствующие программному обеспечению и версии Autodesk.
    2. Откройте диспетчер сертификатов.

    А. Щелкните меню Windows «Пуск».
    Б. Введите certmgr.msc.
    В. Нажмите клавишу ENTER.

    1. Перейдите в раздел Доверенные корневые центры сертификации >Сертификаты.
    1. Удалите эти сертификаты. Для этого щелкните их правой кнопкой мыши и выберите «Удалить».
    Кому выдан Кем выдан
    Go Daddy Class 2 Certification Authority Go Daddy Class 2 Certification Authority
    DigiCert Global Root CA DigiCert Global Root CA
    DigiCert High Assurance EV Root CA DigiCert High Assurance EV Root CA
    GlobalSign GlobalSign
    GlobalSign Root CA GlobalSign Root CA
    Starfield Class 2 Certification Authority Starfield Class 2 Certification Authority
    Thawte Timestamping CA Thawte Timestamping CA
    VeriSign Universal Root Certification Authority VeriSign Universal Root Certification Authority
    1. В браузере Internet Explorer 11 (предпочтительно) или Chrome перейдите на следующие веб-сайты:
      • https://www.autodesk.ru/
      • https://accounts.autodesk.com (после загрузки страницы щелкните войти)
      • https://cur.autodesk.com
    2. Вернитесь в диспетчер сертификатов > «Доверенные корневые центры сертификации» > «Сертификаты».
    3. В меню «Действие» выберите «Обновить».
    4. Убедитесь в том, что добавлены сертификаты, соответствующие открытым веб-сайтам.
    5. Восстановите программное обеспечение Autodesk из панели управления Windows.
      1. Откройте «Панель управления» > «Программы» > «Программы и компоненты».
      2. Правой кнопкой мыши щелкните необходимую программу Autodesk и выберите «Удалить/Изменить».
      3. Выберите «Восстановить» или «Переустановить» и следуйте инструкциям мастера настройки программы.

    Примечание. Если в домене есть объект групповой политики (GPO), ограничивающий регистрацию или отзыв стороннего сертификата, ознакомьтесь со следующей статьей:
    Параметр «Однопользовательская» или «Войти в систему» отсутствуют на экране начала работы из-за дефектов корневых сертификатов.

    Источник

    This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

    Answered by:

    Question

    Hello everybody.
    It was migrated a Windows 2008 R2 Enterprise Root CA on a Windows 2012 R2 Offline Root CA + Sub CA.

    Root CRL add to LDAP

    certutil –dspublish –f «C:CDRootCARoot Certificate.crl» «Certificate Authority. «

    When a client requests a certificate error occurs.
    Active Directory Certificate Services denied request 412 because The revocation function was unable to check revocation for the certificate. 0x80092012 (-2146885614 CRYPT_E_NO_REVOCATION_CHECK). Additional information: Error Constructing or Publishing Certificate
    When testing
    certutil -verify -urlfetch subca.cer
    The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)
    ————————————
    Revocation check skipped — server offline
    Cert is a CA certificate
    ERROR: Verifying leaf certificate revocation status returned The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)
    CertUtil: The revocation function was unable to check revocation because the revocation server was offline.
    CertUtil: -verify command completed successfully.
    In the second test.
    certutil -url subca.cer
    CRL (from CDP) — Failed
    I would be very grateful tip.

    MCITP, MCSE. Regards, Oleg

    Answers

    After adding a CRL in LDAP. It took reissue SubCA.
    With the release of SubCA checked CRL Root CA. With his lack of written and gives SubCA marked .
    Revocation Status: The revocation function was unable to check revocation for the certificate.

    After signing SubCA certificates earned.

    MCITP, MCSE. Regards, Oleg

    can you post a full dump of «certutil -verify -urlfetch subca.cer» command?

    Vadims Podāns, aka PowerShell CryptoGuy
    My weblog: www.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new: PowerShell File Checksum Integrity Verifier tool.

    Please make sure that the client is able to access at least one of the CDP listed in the subca.cer.

    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Issuer:
    CN=Company Certificate Authority
    DC=Company
    DC=org
    Name Hash(sha1): 12a8fbb0998c92c2f73486e3ac5f96a3e6ab1765
    Name Hash(md5): 4f4bcf3f9004ce434d07e46bfc695afc
    Subject:
    CN=Company Certificate Subordinate Authority
    OU=Information Systems
    O=Company Org
    C=US
    Name Hash(sha1): 776d6fc95204a474354401817065e4844acb58b1
    Name Hash(md5): 3977a4d60c49cfbd4756951f2a83472c
    Cert Serial Number: 6123302d000200002e69

    dwFlags = CA_VERIFY_FLAGS_CONSOLE_TRACE (0x20000000)
    dwFlags = CA_VERIFY_FLAGS_DUMP_CHAIN (0x40000000)
    ChainFlags = CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT (0x40000000)
    HCCE_LOCAL_MACHINE
    CERT_CHAIN_POLICY_BASE
    ——— CERT_CHAIN_CONTEXT ———
    ChainContext.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
    ChainContext.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
    ChainContext.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)

    SimpleChain.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
    SimpleChain.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
    SimpleChain.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)

    CertContext[0][0]: dwInfoStatus=102 dwErrorStatus=1000040
    Issuer: CN=Company Certificate Authority, DC=Company, DC=org
    NotBefore: 10/11/2015 11:07 PM
    NotAfter: 6/5/2019 3:17 PM
    Subject: CN=Company Certificate Subordinate Authority, OU=Information Systems, O=Company Org, C=US
    Serial: 6123302d000200002e69
    Template: SubCA
    1b17a47351692f2a078dd5b75d3d11f30d3414d7
    Element.dwInfoStatus = CERT_TRUST_HAS_KEY_MATCH_ISSUER (0x2)
    Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
    Element.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
    Element.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)
    —————- Certificate AIA —————-
    Verified «Certificate (0)» Time: 0
    [0.0] ldap:///CN=Company%20Association%20Certificate%20Authority,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Company,DC=org?cACertificate?base?objectClass=certificationAuthority

    CertContext[0][1]: dwInfoStatus=10c dwErrorStatus=0
    Issuer: CN=Company Certificate Authority, DC=Company, DC=org
    NotBefore: 5/29/2009 7:04 PM
    NotAfter: 6/5/2019 3:17 PM
    Subject: CN=Company Certificate Authority, DC=Company, DC=org
    Serial: 7ae9fcca60829fa64cbd39bf99e729b7
    e7746458a96f7aea98eb8aa5623267b5baa76500
    Element.dwInfoStatus = CERT_TRUST_HAS_NAME_MATCH_ISSUER (0x4)
    Element.dwInfoStatus = CERT_TRUST_IS_SELF_SIGNED (0x8)
    Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
    —————- Certificate AIA —————-
    No URLs «None» Time: 0
    —————- Certificate CDP —————-
    Expired «Base CRL (0764)» Time: 0
    [0.0] ldap:///CN=Company%20Association%20Certificate%20Authority(1),CN=oldEnterprice01,CN=CDP,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Company,DC=org?certificateRevocationList?base?objectClass=cRLDistributionPoint

    Exclude leaf cert:
    1b17a47351692f2a078dd5b75d3d11f30d3414d7
    Full chain:
    f3dbdace25cdcccb69a1e48a75aa48aacf1da941
    Issuer: CN=Company Certificate Authority, DC=Company, DC=org
    NotBefore: 10/11/2015 11:07 PM
    NotAfter: 6/5/2019 3:17 PM
    Subject: CN=Company Certificate Subordinate Authority, OU=Information Systems, O=Company Org, C=US
    Serial: 6123302d000200002e69
    Template: SubCA
    1b17a47351692f2a078dd5b75d3d11f30d3414d7
    The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)
    ————————————
    Revocation check skipped — server offline
    Cert is a CA certificate

    ERROR: Verifying leaf certificate revocation status returned The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (-2146885613 CRYPT_E_REVOCATION_OFFLINE)
    CertUtil: The revocation function was unable to check revocation because the revocation server was offline.

    CertUtil: -verify command completed successfully.

    The problem CDP, as the single point of CRL checking was LDAP.

    New Root CA Offline and LDAP does not write.

    —————- Certificate CDP —————-
    Failed «CDP» Time: 0
    Error retrieving URL: The system can not find the file specified. 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)
    ldap:///CN=Company%20Association%20Certificate%20Authority(1),CN=RootPKI,CN=CDP,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=Company,DC=org?certificateRevocationList?base?objectClass=cRLDistributionPoint

    Now it is necessary figure out how to write in this way CRL

    Источник

    Почему возникают ошибки SSL-соединения и как их исправить?

    Зачастую после установки SSL-сертификатов многие пользователи сталкиваются с ошибками, которые препятствуют корректной работе защищенного протокола HTTPS.

    Предлагаем разобраться со способами устранения подобных ошибок.

    Что такое SSL?

    SSL (Secure Socket Layer) — это интернет-протокол для создания зашифрованного соединения между пользователем и сервером, который гарантирует безопасную передачу данных.

    Когда пользователь заходит на сайт, браузер запрашивает у сервера информацию о наличии сертификата. Если сертификат установлен, сервер отвечает положительно и отправляет копию SSL-сертификата браузеру. Затем браузер проверяет сертификат, название которого должно совпадать с именем сайта, срок действия сертификата и наличие корневого сертификата, выданного центром сертификации.

    Причины возникновения ошибок SSL-соединения

    Когда сертификат работает корректно, адресная строка браузера выглядит примерно так:

    Но при наличии ошибок она выглядит несколько иначе:

    Существует множество причин возникновения таких ошибок. К числу основных можно отнести:

    • Некорректную дату и время на устройстве (компьютер, смартфон, планшет и т.д.);
    • Ненадежный SSL-сертификат;
    • Брандмауэр или антивирус, блокирующие сайт;
    • Включенный экспериментальный интернет-протокол QUIC;
    • Отсутствие обновлений операционной системы;
    • Использование SSL-сертификата устаревшей версии 3.0;
    • Появление ошибки «Invalid CSR» при генерации сертификата из панели управления облачного провайдера.

    Давайте рассмотрим каждую из них подробнее.

    Проблемы с датой и временем

    Если на устройстве установлены некорректные дата и время, ошибка SSL-соединения неизбежна, ведь при проверке сертификата происходит проверка срока его действия. Современные браузеры умеют определять такую ошибку самостоятельно и выводят сообщение о неправильно установленной дате или времени.

    Для исправления этой ошибки достаточно установить на устройстве актуальное время. После этого необходимо перезагрузить страницу или браузер.

    Ненадежный SSL-сертификат

    Иногда при переходе на сайт, защищенный протоколом HTTPS, появляется ошибка «SSL-сертификат сайта не заслуживает доверия».

    Одной из причин появления такой ошибки, как и в предыдущем случае, может стать неправильное время. Однако есть и вторая причина — браузеру не удается проверить цепочку доверия сертификата, потому что не хватает корневого сертификата. Для избавления от такой ошибки необходимо скачать специальный пакет GeoTrust Primary Certification Authority, содержащий корневые сертификаты. После скачивания переходим к установке. Для этого:

    • Нажимаем сочетание клавиш Win+R и вводим команду certmgr.msc, жмем «Ок». В Windows откроется центр сертификатов.
    • Раскрываем список «Доверенные корневые центры сертификации» слева, выбираем папку «Сертификаты», кликаем по ней правой кнопкой мышки и выбираем «Все задачи — импорт».

    • Запустится мастер импорта сертификатов. Жмем «Далее».

    • Нажимаем кнопку «Обзор» и указываем загруженный ранее сертификат. Нажимаем «Далее»:

    • В следующем диалоговом окне указываем, что сертификаты необходимо поместить в доверенные корневые центры сертификации, и нажимаем «Далее». Импорт должен успешно завершиться.

    После вышеперечисленных действий можно перезагрузить устройство и проверить отображение сайта в браузере.

    Брандмауэр или антивирус, блокирующие сайт

    Некоторые сайты блокируются брандмауэром Windows. Для проверки можно отключить брандмауэр и попробовать зайти на нужный сайт. Если SSL-сертификат начал работать корректно, значит дело в брандмауэре. В браузере Internet Explorer вы можете внести некорректно работающий сайт в список надежных и проблема исчезнет. Однако таким образом вы снизите безопасность своего устройства, так как содержимое сайта может быть небезопасным, а контроль сайта теперь отключен.

    Также SSL может блокировать антивирусная программа. Попробуйте отключить в антивирусе проверку протоколов SSL и HTTPS и зайти на сайт. При необходимости добавьте сайт в список исключений антивируса.

    Включенный экспериментальный протокол QUIC

    QUIC — это новый экспериментальный протокол, который нужен для быстрого подключения к интернету. Основная задача протокола QUIC состоит в поддержке нескольких соединений. Вы можете отключить этот протокол в конфигурации вашего браузера.

    Показываем как отключить QUIC на примере браузера Google Chrome:

    • Откройте браузер и введите команду chrome://flags/#enable-quic;
    • В появившемся окне будет выделен параметр: Experimental QUIC protocol (Экспериментальный протокол QUIC). Под названием этого параметра вы увидите выпадающее меню, в котором нужно выбрать опцию: Disable.

    • После этого просто перезапустите браузер.

    Этот способ работает и в Windows и в Mac OS.

    Отсутствие обновлений операционной системы

    Проблемы с SSL-сертификатами могут возникать и из-за того, что на вашей операционной системе давно не устанавливались обновлений. Особенно это касается устаревших версий Windows (7, Vista, XP и более ранние). Установите последние обновления и проверьте работу SSL.

    Использование SSL-сертификата версии 3.0

    Некоторые сайты используют устаревший SSL-протокол версии 3.0, который не поддерживают браузеры. По крайней мере, по умолчанию. Чтобы браузер поддерживал устаревший SSL необходимо сделать следующее (на примере браузера Google Chrome):

    • Откройте браузер и перейдите в раздел «Настройки».
    • Прокрутите страницу настроек вниз и нажмите «Дополнительные».
    • В разделе «Система» найдите параметр «Настройки прокси-сервера» и кликните на него.

    • Откроется окно. Перейдите на вкладку «Дополнительно».
    • В этой вкладке вы увидите чекбокс «SSL 3.0».

    • Поставьте галочку в чекбоксе, нажмите кнопку «Ок» и перезагрузите браузер.

    Ошибки «Invalid CSR» при генерации сертификата из панели управления облачного провайдера

    В процессе активации сертификата можно столкнуться с ошибкой «Invalid CSR». Такая ошибка возникает по следующим причинам:

    Источник

    “Error: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) – The revocation function was unable to check revocation for the certificate.”

    If you’re facing the error above when using Vagrant then I hope this post may help you a bit.

    vagrant-was-unable-to-check-revocation-for-the-certificate-1 Vagrant was unable to check revocation for the certificate

    Vagrant error The revocation function was unable to check revocation for the certificate.

    About the error Vagrant revocation function was unable to check revocation for the certificate

    I faced this error when I used Vagrant on a Windows PC. I also use the same code on another Linux PC but it’s okay without any problem.

    The Vagrant code like below, you can see in my Github repository.

    # -*- mode: ruby -*-
    # vi: set ft=ruby :
    
    Vagrant.configure("2") do |config|
      # Use image box Ubuntu, current is 20.10
      config.vm.box = "ubuntu/focal64"
      # Change port 80 to other port that you want to access from host machine
      config.vm.network "forwarded_port", guest: 80, host: 80
      # Set a private IP address, you can access it from host machine with `ssh [email protected]` instead of `vagrant ssh`.
      # Make you work as a real case
      config.vm.network "private_network", ip: "192.168.33.10", :netmask => "255.255.255.0"
      # Set cpu, ram for vm
      config.vm.provider "virtualbox" do |vb|
        vb.memory = "1024"
        vb.cpus = 1
      end
    end

    When I type the command “vagrant up” then got the error below.

    Bringing machine 'default' up with 'virtualbox' provider...
    ==> default: Box 'ubuntu/focal64' could not be found. Attempting to find and install...
        default: Box Provider: virtualbox
        default: Box Version: >= 0
    The box 'ubuntu/focal64' could not be found or
    could not be accessed in the remote catalog. If this is a private
    box on HashiCorp's Vagrant Cloud, please verify you're logged in via
    `vagrant login`. Also, please double-check the name. The expanded
    URL and error message are shown below:
    
    URL: ["https://vagrantcloud.com/ubuntu/focal64"]
    Error: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

    So the first thing in my head that there is a problem with my Windows PC then I searched around in the internet.

    Most of the results from the internet are talking about update to latest version of Vagrant. I checked my Vagrant version and it’s already the latest version so nothing to do with update the version.

    How to resolve the error

    vagrant-was-unable-to-check-revocation-for-the-certificate-2 Vagrant was unable to check revocation for the certificate

    Vagrant Error: SSL certificate problem: self-signed certificate in certificate chain.

    After searched around, I got a lot of answers with difference thing to do.

    The first one is download and replace the binary “curl.exe” on the folder “C:HashiCorpVagrantembeddedbin”. Someone told there is a problem with the old Curl inside Vagrant so we need to download the latest Curl and replace it. Yes, I tried this one but nothing fixed.

    I downloaded the newest Curl application from this link with the latest version is 7.83.1. After replaced the newest Curl to the Vagrant’s embedded folder, I ran the command “vagrant up” again and got a new error.

    Bringing machine 'default' up with 'virtualbox' provider...
    ==> default: Box 'ubuntu/focal64' could not be found. Attempting to find and install...
        default: Box Provider: virtualbox
        default: Box Version: >= 0
    The box 'ubuntu/focal64' could not be found or
    could not be accessed in the remote catalog. If this is a private
    box on HashiCorp's Vagrant Cloud, please verify you're logged in via
    `vagrant login`. Also, please double-check the name. The expanded
    URL and error message are shown below:
    
    URL: ["https://vagrantcloud.com/ubuntu/focal64"]
    Error: SSL certificate problem: self-signed certificate in certificate chain

    At this time, there are some posts wrote that we need to replace the OpenSSL library too. I tired of it and keep searching for other way.

    Finally, I found there is simple trick to bypass this error above.

    Simply, we just need to add a line to our Vagrant code and it’s work.

    config.vm.box_download_insecure=true

    Then the complete code will look like this.

    # -*- mode: ruby -*-
    # vi: set ft=ruby :
    
    Vagrant.configure("2") do |config|
      # Use image box Ubuntu, current is 20.10
      config.vm.box = "ubuntu/focal64"
      config.vm.box_download_insecure=true
      # Change port 80 to other port that you want to access from host machine
      config.vm.network "forwarded_port", guest: 80, host: 80
      # Set a private IP address, you can access it from host machine with `ssh [email protected]` instead of `vagrant ssh`.
      # Make you work as a real case
      config.vm.network "private_network", ip: "192.168.33.10", :netmask => "255.255.255.0"
      # Set cpu, ram for vm
      config.vm.provider "virtualbox" do |vb|
        vb.memory = "1024"
        vb.cpus = 1
      end
    end

    With simple line code above then I ran the command “vagrant up” again and here is the result.

    vagrant-was-unable-to-check-revocation-for-the-certificate-3 Vagrant was unable to check revocation for the certificate

    Vagrant is working fine after added the line code.

    Conclusion

    This is a simple trick but in some case, you may spent hours to find the way to resolve it.

    Hope my post may help some guys who facing the same problem with the Vagrant.

    Возможно, вам также будет интересно:

  • Trove код ошибки 2018
  • Trove код ошибки 2016
  • Trouver solo 10 коды ошибок
  • Trouver power 11 ошибка e6
  • Tropico 5 ошибка directx 11

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии