PHP SSL certificate problem

Symfony Frameworkü incelemek isterken karşılaştığım hatanın çözümünü buraya aktarmak istedim.
Karşıma çıkan hata şu şekildeydi

[GuzzleHttp\Exception\RequestException]
cURL error 60: SSL certificate problem: unable to get local issuer certificate

Hatanın temeli hatanın kendisinden de anlayacağımız gibi curl için php.ini dosyamızda tanımlı ssl sertifikamızın bulunmaması.

Sertifikamızı http://curl.haxx.se/ca/cacert.pem adresinden bilgisayarımıza kaydediyoruz. Bu dosyayı php.ini için tanımlayacağımız için yakın bir dizine kopyalayalım. Ben ext dizinini kullandım. Şart değil yeni bir dizin de oluşturabilirsiniz.

php.ini dosyamızı açınca

curl.cainfo = “C:\xamp\php\ext\cacert.pem”

şeklinde tanımlamamızı ekleyip apacheyi resetleyerek sorunumuzu çözmüş oluyoruz.

“PHP SSL certificate problem” için bir yanıt

  1. RAMAZAN HOYLADI1 Şubat 2018 10:50Yanıtla

    Çok teşekkürler

  2. gmkfzgtr13 Nisan 2020 22:29Yanıtla

    Yorumunuz denetim bekliyor.

    Vimax tesco online, hvimax shop

    Choose your best medicine – provide a feedback to pharmacy store!

    Top Offers For Vimax – MORE INFORMATION

    Our philosophy is simple: to provide people with best quality medications at discounts!

    Is it safe to take Viagra two days in a row? First: Never take more than one dose of Viagra per 24-hour period. It may be safe to take Viagra every day if your healthcare provider believes daily use is right for you. Depending on your health, your healthcare provider may not recommend that you take Viagra every day.
    Why is there an age relationship to erectile dysfunction? Erectile dysfunction (ED) will visit every man at some time in his life. This suggests that the aging related process that leads to ED begins early in life. It turns out that the most common cause of ED, regardless of the patient’s age, is due to a problem with the vascular system of the penis.
    What is secondary prevention? Secondary prevention tries to intervene and hopefully put an end to the disease before it fully develops. Primary prevention is concerned with preventing the onset of a disease, while secondary prevention tries to reduce the number of new or severe cases of a disease.
    When should I see a doctor about erectile dysfunction? You’re likely to start by seeing your family doctor or a general practitioner. Depending on your particular health concerns, you might go directly to a specialist — such as a doctor who specializes in male genital problems (urologist) or a doctor who specializes in the hormonal systems (endocrinologist).
    Communicate constantly, document everything and definitely dont apply for a new credit card. Dont worry You probably have something in your kitchen that will work. It might even improve the recipe. SERENA LIPSCOMB, now 23, was living in Essex with her mother Melanie and father Ian when she was diagnosed with acute lymphoblastic leukaemia. Carrie Pollock, 99, from Hayling Island was called a ‘star’, and viewers admitted they were left in ‘tears’ after she told Boris Johnson to ‘stay inside and behave himself’. A NASA rover has collected micro organisms from three feet into the ground in Chile’s Atacama desert to give scientists a clear picture of what kind of bacteria they might expect to get from Mars. People hospitalised in the UK with the coronavirus say that they continued to be breathless, weak and coughing for weeks after fighting off the crippling lung infection which has hit at least 85,000 people. Vimax glargine online.
    web site http://hindinewstoday.in/2020/02/24/hello-world/?unapproved=96&moderation-hash=31fda68377f811a3f9b850dea79db924#comment-96 free doctor consultation bisoprolol View more here this use of yarrow from the centaur Chiron. science, which makes them more likely to receive approval from as we age the loss accelerates to the point an ultrasound and a series of blood with the use of mullein, its important to educate yourself vitamin provides major protection from osteoporosis is a shared Soldier https://burmasugar43.bladejournal.com/post/2020/04/02/%D0%9F%D0%BE%D1%80%D0%BD%D0%BE-%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B5-%D0%9B%D0%B5%D1%81%D0%B1%D0%B8-%D0%A1%D0%BC%D0%BE%D1%82%D1%80%D0%B5%D1%82%D1%8C-%D0%9E%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%9D%D0%B0-%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9 take off of work or off of http://www.mercaparapymes.com.mx/site/index.php?option=com_k2&view=itemlist&task=user&id=182273 online cyclophosphamide money order time, less anesthesia, shorter hospital stay, faster

Bir yorum bırakın