Uploaded image for project: 'PHP_NETCURL'
  1. PHP_NETCURL
  2. NETCURL-101

CURL/SSL: Migration of some unspecified variables

    XMLWordPrintable

    Details

    • Sprint:
      netcurl-6.0.20

      Description

      Make sure those variables below are properly handled, as before.

      The SSL control should only be invoked if requested, otherwise NetCurl should fall back to defaults as it protects sites from failing in calls when for example hardening has been done (open_basedir).

      		/**
      		 * @var bool $testssl
      		 *
      		 * For PHP >= 5.6.0: If defined, try to guess if there is valid certificate bundles when using for example https links (used with openssl).
      		 *
      		 * This function activated by setting this value to true, tries to detect whether sslVerify should be used or not.
      		 * The default value of this setting is normally false, since there should be no problems in a properly installed environment.
      		 */
      		private $testssl = true;
      		/** @var bool Do not test certificates on older PHP-version (< 5.6.0) if this is false */
      		private $testssldeprecated = false;
      		/** @var bool If there are problems with certificates bound to a host/peer, set this to false if necessary. Default is to always try to verify them */
      		private $sslVerify = true;
      		/** @var bool If SSL has been compiled in CURL, this will transform to true */
      		private $CURL_SSL_AVAILABLE = false;
      		/**
      		 * Allow https calls to unverified peers/hosts
      		 *
      		 * @since 5.0.0
      		 * @var bool
      		 */
      		private $allowSslUnverified = false;
      		/** @var string Defines what file to use as a certificate bundle */
      		private $useCertFile = "";
      		/** @var bool Shows if the certificate file found has been found internally or if it was set by user */
      		private $hasDefaultCertFile = false;
      		/** @var bool Shows if the certificate check has been runned */
      		private $openSslGuessed = false;
      

        Attachments

          Activity

            People

            Assignee:
            Tornevall Tomas Tornevall
            Reporter:
            Tornevall Tomas Tornevall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration