composer behind proxy

  • download … Root CA certificate using connected browser
  • place pem file into /etc/pki/tls/certs (es: /etc/pki/tls/certs/RootCA.pem)
  • edit /etc/php.ini file and set curl.cainfo and openssl.cafile parameters

curl.cainfo=/etc/pki/tls/certs/RootCA.pem
openssl.cafile=/etc/pki/tls/certs/RootCA.pem

  • set http_proxy and https_proxy env vars
  • test it use composer diag

Lascia un commento

Il tuo indirizzo email non sarĂ  pubblicato. I campi obbligatori sono contrassegnati *