Basho\Riak\Node\Builder::usingCertificateAuthentication PHP Method

usingCertificateAuthentication() public method

Build nodes with certificate authentication User authentication and access rules are only available in Riak versions 2 and above. To use this feature, TSL is required to communicate with your Riak nodes. CURRENTLY NOT SUPPORTED OVER THE RIAK HTTP API
public usingCertificateAuthentication ( $certificate, string $password = '' )
$certificate
$password string
    public function usingCertificateAuthentication($certificate, $password = '')
    {
        $this->config->setCertificate($certificate);
        $this->config->setCertificatePassword($password);
        $this->config->setAuth(true);
        throw new Node\Builder\Exception('Riak over HTTP does not support Certificate Authentication.');
        //return $this;
    }