Error 20 at 0 depth lookup:unable to get local issuer certificate. Самоподписанный сертификат

Иногда, OpenSSL может ругаться на X509 сертификат, который содержит поля расширений, такие как, например, «использование ключа».

Будем считать что у нас есть самоподписанный сертификат certfile.crt с установленным расширением «использвание ключа», в котором написано (т.е. сертификат может быть использован для этих целей): Цифровая подпись, Неотрекаемость, Шифрование данных, Согласование ключей (d8)

В этом случае при попытке проверить валидность сертификата

[root@ejbca-uc]# openssl verify -CAfile certfile.crt certfile.crt

получим

error 20 at 0 depth lookup:unable to get local issuer certificate

Если сертификат не самоподписанный, а выдан каким-то УЦ, то подобная ошибка может означать, что в цепочке отсутствует один или несколько промежуточных сертификатов. Но в данном случае сертификат — самоподписанный. Поэтому странно, что вылетает ошибка, смысл которой в том, что не найден сертификат, выпустивший тот сертификат, который мы проверяем.

Как оказывается, openssl очень умен и при подобной проверке ему не достаточно просто сравнить CN certfile.crt certfile.crt, которые, естественно совпадают, т.к. файл один и тот же. Что делает openssl? Он выполняет аж несколько проверок:

То есть, если расширение key-usage в сертификае в принципе есть (а оно всегда есть в V3 сертификатах, которые формируются средствами windows), то в нем обязательно должно быть указано KU_KEY_CERT_SIGN (т.е. подпись сертификатов). Если в поле key-usage свойство  KU_KEY_CERT_SIGN не прописано, openssl проверяет сертификат, который играет роль сертификата CA и видит, что он не имеет права подписывать сертификаты и выдает ту самую ошибку.


Не забывайте оставлять комментарии, если пост был вам полезен!
Опубликовано в Сети Метки: , , ,
0 comments on “Error 20 at 0 depth lookup:unable to get local issuer certificate. Самоподписанный сертификат
89 Пинги/Обратные ссылки для "Error 20 at 0 depth lookup:unable to get local issuer certificate. Самоподписанный сертификат"
  1. Google

    Sites of interest we have a link to.

  2. direct lenders payday loans

    […]that will be the end of this post. Right here you’ll discover some web sites that we assume you’ll enjoy, just click the hyperlinks over[…]

  3. fifty shades of grey toys

    […]the time to study or pay a visit to the content material or web pages we’ve linked to beneath the[…]

  4. bdsm restraint

    […]although internet sites we backlink to below are considerably not related to ours, we really feel they are truly worth a go via, so possess a look[…]

  5. adam and eve scarlet couture beat me whip

    […]very handful of sites that occur to become comprehensive below, from our point of view are undoubtedly nicely really worth checking out[…]

  6. adult bondage toys

    […]here are some links to web-sites that we link to simply because we think they’re really worth visiting[…]

  7. fifty shades bondage

    […]we came across a cool website that you could possibly take pleasure in. Take a appear should you want[…]

  8. master series vibrating dildo

    […]just beneath, are several entirely not connected web sites to ours, even so, they may be certainly worth going over[…]

  9. g-spot vibrator

    […]please pay a visit to the sites we follow, including this 1, as it represents our picks in the web[…]

  10. заболевания поджелудочной

    […]although internet sites we backlink to beneath are considerably not associated to ours, we feel they are truly worth a go through, so have a look[…]

  11. produkty bogatye vitaminom b

    […]very handful of websites that occur to become in depth below, from our point of view are undoubtedly effectively worth checking out[…]

  12. psoriaz jeto

    […]Here is an excellent Blog You might Locate Intriguing that we Encourage You[…]

  13. Alba Cinnamon Exporter from Sri Lanka

    […]one of our guests not long ago advised the following website[…]

  14. insta mp3 download

    […]always a significant fan of linking to bloggers that I really like but do not get quite a bit of link adore from[…]

  15. 토토사이트

    […]always a major fan of linking to bloggers that I like but don’t get a lot of link love from[…]

  16. شركة نقل عفش الفروانية

    […]just beneath, are numerous entirely not associated internet sites to ours, nonetheless, they are certainly really worth going over[…]

  17. 사다리사이트

    […]that is the finish of this report. Here you’ll locate some websites that we believe you’ll value, just click the links over[…]

  18. 먹튀검증

    […]always a large fan of linking to bloggers that I love but don’t get a great deal of link really like from[…]

  19. 안전놀이터

    […]one of our visitors not too long ago recommended the following website[…]

  20. zmax home 2400 drivers

    […]please pay a visit to the internet sites we stick to, including this 1, because it represents our picks from the web[…]

  21. les rois du monde перевод

    […]we like to honor many other web internet sites on the internet, even though they aren’t linked to us, by linking to them. Beneath are some webpages really worth checking out[…]

  22. какой член считается большим

    […]the time to study or pay a visit to the material or web pages we have linked to beneath the[…]

  23. rechargeable silicone vibrators

    […]below you will obtain the link to some web-sites that we consider you must visit[…]

  24. silicone bullet vibrator

    […]usually posts some incredibly intriguing stuff like this. If you’re new to this site[…]

  25. two headed dildo

    […]Sites of interest we have a link to[…]

  26. опен 24 ставрополь моя страница

    […]please visit the websites we stick to, which includes this one, because it represents our picks through the web[…]

  27. beast tv apk

    […]Every once inside a when we decide on blogs that we study. Listed beneath would be the most recent internet sites that we pick out […]

  28. Strap Ons

    […]very few internet websites that come about to be comprehensive beneath, from our point of view are undoubtedly very well worth checking out[…]

  29. online virtual service

    […]always a big fan of linking to bloggers that I adore but don’t get lots of link enjoy from[…]

  30. Affiliate Marketing Platform

    […]check beneath, are some entirely unrelated websites to ours, on the other hand, they’re most trustworthy sources that we use[…]

  31. best buy black friday

    […]that could be the finish of this report. Right here you will discover some web pages that we think you will enjoy, just click the hyperlinks over[…]

  32. virtual visacard and virtual Mastercard

    […]very few web-sites that transpire to become in depth beneath, from our point of view are undoubtedly well worth checking out[…]

  33. long double dildo

    […]below you will find the link to some web sites that we assume it is best to visit[…]

  34. порно чат

    […]just beneath, are quite a few completely not related sites to ours, nevertheless, they’re surely really worth going over[…]

  35. 안전공원 추천

    […]the time to study or stop by the content or sites we’ve linked to beneath the[…]

  36. Pay someone to take my online class for me

    […]we came across a cool web page that you simply may possibly take pleasure in. Take a look for those who want[…]

  37. Bursa Saham Indonesia

    […]Here is a superb Blog You may Find Intriguing that we Encourage You[…]

  38. Interview Food Chef

    […]very couple of web-sites that transpire to become comprehensive beneath, from our point of view are undoubtedly well really worth checking out[…]

  39. Reksadana Saham Indonesia

    […]just beneath, are many totally not connected sites to ours, having said that, they may be surely worth going over[…]

  40. cursos online

    […]just beneath, are several entirely not related web-sites to ours, on the other hand, they’re certainly really worth going over[…]

  41. human capital consulting solutions orlando

    […]Sites of interest we’ve a link to[…]

  42. xxx:

    xxx

    […]Here are a few of the sites we advise for our visitors[…]

  43. fbv cursos gratuitos

    […]we came across a cool website that you just may delight in. Take a search in the event you want[…]

  44. Criminal Defense Lawyer Roanoke, VA

    […]we came across a cool internet site that you may well get pleasure from. Take a appear should you want[…]

  45. nail scottsdale

    […]very couple of web-sites that come about to be comprehensive below, from our point of view are undoubtedly properly worth checking out[…]

  46. masturbation toys for men

    […]although websites we backlink to below are considerably not connected to ours, we feel they’re essentially really worth a go via, so possess a look[…]

  47. luxury sex toy

    […]although internet sites we backlink to beneath are considerably not connected to ours, we really feel they are actually really worth a go via, so possess a look[…]

  48. breakout of rut

    […]the time to study or pay a visit to the content or web-sites we’ve linked to beneath the[…]

  49. Third Party Manufacturing In West Bengal

    […]although web-sites we backlink to below are considerably not associated to ours, we feel they are actually worth a go as a result of, so possess a look[…]

  50. social media networking tips

    […]very few web-sites that occur to be comprehensive below, from our point of view are undoubtedly very well worth checking out[…]

  51. Penis pumps

    […]just beneath, are many absolutely not related internet sites to ours, however, they are surely worth going over[…]

  52. Rabbit vibrator

    […]please go to the web-sites we comply with, which includes this one, as it represents our picks through the web[…]

  53. Pokémon subscription box

    […]check beneath, are some entirely unrelated websites to ours, nonetheless, they’re most trustworthy sources that we use[…]

  54. Clit vibrator

    […]Every once in a though we pick out blogs that we study. Listed beneath are the most recent internet sites that we choose […]

  55. G spot vibrator

    […]one of our guests not long ago proposed the following website[…]

  56. Best couples vibrator

    […]that is the end of this report. Right here you’ll come across some internet sites that we consider you’ll appreciate, just click the hyperlinks over[…]

  57. realistic vibrator review

    […]one of our visitors a short while ago suggested the following website[…]

  58. questions and answers — Test 1

    […]Sites of interest we have a link to[…]

  59. Report Apunte

    […]just beneath, are numerous absolutely not associated web-sites to ours, nevertheless, they are certainly worth going over[…]

  60. referat 12539

    […]just beneath, are many totally not related sites to ours, having said that, they are surely really worth going over[…]

  61. Preguntes dossier RRPP Ejercicio

    […]that will be the end of this post. Right here you will locate some sites that we assume you’ll value, just click the links over[…]

  62. https://maintogelbersama.wordpress.com/2019/03/14/kasino-terbaik-di-las-vegas-yang-wajib-dikunjungi-oleh-para-wisatawan/

    […]we like to honor quite a few other internet web-sites on the net, even if they aren’t linked to us, by linking to them. Under are some webpages really worth checking out[…]

  63. yoga pants

    […]Every after inside a whilst we pick out blogs that we read. Listed below are the latest websites that we decide on […]

  64. Anal vibrators

    […]one of our guests not long ago proposed the following website[…]

  65. Asthma and Chronic Obstructive Pulmonary Disease

    […]check below, are some absolutely unrelated internet websites to ours, nonetheless, they are most trustworthy sources that we use[…]

  66. Discounts over half price

    […]that will be the finish of this post. Here you’ll come across some sites that we assume you’ll appreciate, just click the links over[…]

  67. Bank Requirement

    […]Here is an excellent Weblog You may Discover Fascinating that we Encourage You[…]

  68. warm vibrator

    […]usually posts some really exciting stuff like this. If you are new to this site[…]

  69. silicone vibrator

    […]check beneath, are some entirely unrelated web sites to ours, nonetheless, they are most trustworthy sources that we use[…]

  70. FIFA Coins

    […]check beneath, are some totally unrelated internet websites to ours, however, they are most trustworthy sources that we use[…]

  71. silicone vibrating wand massager

    […]please pay a visit to the sites we adhere to, such as this a single, as it represents our picks through the web[…]

  72. beginners vibrato

    […]here are some hyperlinks to web-sites that we link to for the reason that we assume they may be worth visiting[…]

  73. where is the g spot

    […]Every when in a although we pick out blogs that we study. Listed below are the most current sites that we select […]

  74. best bullet massager

    […]we came across a cool website that you just may enjoy. Take a search in the event you want[…]

  75. evolved sex toy

    […]Here are some of the sites we advocate for our visitors[…]

  76. suction cup based dildo

    […]we came across a cool website that you might take pleasure in. Take a search when you want[…]

  77. Porn City

    […]one of our visitors lately advised the following website[…]

  78. p spot vibrator

    […]check beneath, are some totally unrelated web-sites to ours, even so, they’re most trustworthy sources that we use[…]

  79. firefly sex toys

    […]Wonderful story, reckoned we could combine a few unrelated information, nevertheless definitely really worth taking a appear, whoa did one particular master about Mid East has got extra problerms too […]

  80. Nerf Gun

    […]the time to read or visit the content or websites we have linked to beneath the[…]

  81. bifold shutter doors

    […]we came across a cool web page which you may well take pleasure in. Take a search in the event you want[…]

  82. houston seo

    […]Sites of interest we’ve a link to[…]

  83. xxnxx

    […]usually posts some very fascinating stuff like this. If you’re new to this site[…]

  84. do you need credit to buy a house

    […]although websites we backlink to below are considerably not connected to ours, we really feel they’re essentially worth a go by, so have a look[…]

  85. anal toys

    […]check beneath, are some entirely unrelated internet websites to ours, nonetheless, they’re most trustworthy sources that we use[…]

  86. rotating tip vibrator

    […]Every as soon as inside a whilst we pick out blogs that we study. Listed beneath are the most current web sites that we choose […]

  87. best male enhancement pumps

    […]check below, are some totally unrelated web-sites to ours, even so, they’re most trustworthy sources that we use[…]

  88. butt sex

    […]Sites of interest we have a link to[…]

  89. strapless strap on

    […]here are some hyperlinks to websites that we link to because we assume they’re really worth visiting[…]

Заодно посмотрите мои фоты в моем профиле вконтакте. Любые вопросы по существу статей можете задать там же.
Hostenko — лучший WordPress-хостинг