src/Robo/Commands/Doctor/WebUriCheck.php
protected function checkHttps() {
    if (strstr($this->drushStatus['uri'], 'https')) {
      if (!$this->getExecutor()->execute('curl -cacert ' . $this->drushStatus['uri'])->run()->wasSuccessful()) {
        $this->logProblem(__FUNCTION__, [
          "The SSL certificate for your local site appears to be invalid for {$this->drushStatus['uri']}.",
        ], 'error');
      }
    }
  }
protected function checkHttps() {
    if (strstr($this->drushStatus['uri'], 'https')) {
      if (!$this->getExecutor()->execute('curl -cacert ' . $this->drushStatus['uri'])->run()->wasSuccessful()) {
        $this->logProblem(__FUNCTION__, [
          "The SSL certificate for your local site appears to be invalid for {$this->drushStatus['uri']}.",
        ], 'error');
      }
    }
  }
protected function checkHttps ( ) { if ( strstr ( $ this -> drushStatus [ 'uri' ] , 'https' ) ) { if ( ! $ this -> getExecutor ( ) -> execute ( 'curl -cacert ' . $ this -> drushStatus [ 'uri' ] ) -> run ( ) -> wasSuccessful ( ) ) { $ this -> logProblem ( __FUNCTION__ , [ "The SSL certificate for your local site appears to be invalid for {$this->drushStatus['uri']}." , ] , 'error' ) ; } } }
Checks that SSL cert is valid for configured URI.
Checks that SSL cert is valid for configured URI .