# certverifypeer

## certverifypeer <a href="#certverifypeer" id="certverifypeer"></a>

**Default Value:** true

Determines whether the platform should confirm that the certificate was signed by a valid certificate authority (CA) when establishing an HTTPS connection.

### Example

{% tabs %}
{% tab title="gatherinfo.php" %}

```php
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">

<form>
  <field name="customerid" type="digits?length=7">
    <property name="certverifypeer" value="false"/>
    <prompt>
      Please enter your customer identification number.
    </prompt>
    <filled>
      <prompt>
        You entered <value expr="id"/>.
      </prompt>
    <goto next="https://ivr.selfcertifiedcert.com/retrieveinfo.php"/>
    </filled>
  </field>  
</form>
</vxml>
```

{% endtab %}

{% tab title="retrieveinfo.php" %}

```php
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>

<vxml version="2.0">
<form>
  <block>
    <prompt>
      Your bank statement is zero.
    </prompt>
  </block>
</form>
</vxml>
```

{% endtab %}
{% endtabs %}

### Explanation

From this example, in gatherinfo.php, the developer has set the value of property name, certverifypeer, to false so that when the platform does a \<goto> to the retrieveinfo.php script, the platform won't throw an error. If the developer is using a self-signed certificate (meaning the certificate wasn't verified by a valid certificate authority), the developer would want to set the certverifypeer property to false so that the platform wouldn't confirm if the certificate was signed by a valid certificate authority. If this property weren't set to false, the platform would throw an error.badfetch due to an SSL certificate problem.

### Notes

This property can be implemented at the field-level, form-level, page-level, and root-level scope of your application.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/dev/voicexml/properties/certverifypeer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
