Comment on page
certverifypeer
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.
gatherinfo.php
retrieveinfo.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>
<?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>
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.
This property can be implemented at the field-level, form-level, page-level, and root-level scope of your application.
Last modified 3yr ago