fatal: unable to access SSL certificate problem: unable to get local issuer certificate

1 сентября 2022 512 admin

При попытке склонировать git-репзиторий получаем ошибку сертификата:

fatal: unable to access 'https://github.com/xxxxx/yyyyy/': SSL certificate problem: unable to get local issuer certificate

1. Решение первое, быстрое - отключить проверку сертификата:
git config --global http.sslVerify false

После клонирования репы можно обратно включить проверку:
git config --global http.sslVerify true

2. Вариант получше - добавить ваш сертификат в git.

3. Правильный вариант - сделать нормальный сертификат.

P.S.

В моем случае причина была в отсутствии сертификата на хосте.
Правильный вариант - сделать нормальный сертификат прописать в системе чтобы его все видели. И пользоваться.
Но так как машина экспериментальная - просто отключил проверку сертификата.
  • 5

Другие новости по теме:

Другие новости по теме:

    Добавление комментария

    Имя:
    Пароль:
    Email:
    Код:
    captcha
    Введите код:

    Последнии комментарии
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Humberto (14.12.2025)
    Great blog here! Also your site loads up very fast...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Nancy (14.12.2025)
    Thank you for every other informative blog.
    Where e...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Thelma (13.12.2025)
    Currently it seems like BlogEngine is the top blog...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Gale (13.12.2025)
    Awesome! Its really remarkable paragraph, I have g...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Teresita (13.12.2025)
    My partner and I stumbled over here by a different...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Mackenzie (13.12.2025)
    Hi there very cool website!! Man .. Beautiful ..
    Wo...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Shenna (13.12.2025)
    Helpful information. Lucky me I discovered your si...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Normand (12.12.2025)
    Really no matter if someone doesn't understand the...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Andres (12.12.2025)
    If you desire to increase your knowledge just keep...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Heriberto (12.12.2025)
    Heya i'm for the first time here. I found this boa...
     Популярные
       
    Календарь
    « Декабрь »
    Пн Вт Ср Чт Пт Сб Вс
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31
    Облако тегов
    Яндекс.Метрика