php - Installing SSL Certificates for a Processor Gateway

Solution:
My server is using AWS Linux. Based on the manual for , I placed the provided certificates in
/etc/pki/ca-trust/source/anchors/
with this renaming:
Root.crt
>cieloecommerce.cielo.com.br-root.crt
Intermediate1.crt
>cieloecommerce.cielo.com.br-intermediate1.crt
Intermediate2.crt
>cieloecommerce.cielo.com.br-intermediate2.crt
ServerCertificate.crt
>cieloecommerce.cielo.com.br-server-certificate.crt
I then ran the following commands:
yum install ca-certificates
Made sure the package was up-to-dateupdate-ca-trust extract
Built the certs - output the message:update-ca-trust: Warning: The dynamic CA configuration feature is in the disabled state
update-ca-trust enable
Addressed warning from aboveopenssl s_client -connect api.cieloecommerce.cielo.com.br:443
Confirmed that connections now workservice httpd reload
PHP code running on Apache now has the new certs
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: uncaught error: call to undefined function mysqli_connect()
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.