cert

Summary

Set to a string to specify the path to a file containing a PEM formatted client side certificate. If a password is required, then set to an array containing the path to the PEM file in the first array element followed by the password required for the certificate in the second array element.

Types

  • string
  • array

Default

None

Constant

GuzzleHttp\RequestOptions::CERT

  1. $client->request('GET', '/', ['cert' => ['/path/server.pem', 'password']]);