xml_curl.conf.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <configuration name="xml_curl.conf" description="cURL XML Gateway">
  2. <bindings>
  3. <binding name="example">
  4. <!-- Allow to bind on a particular IP for requests sent -->
  5. <!--<param name="bind-local" value="$${local_ip_v4}" />-->
  6. <!-- The url to a gateway cgi that can generate xml similar to
  7. what's in this file only on-the-fly (leave it commented if you dont
  8. need it) -->
  9. <!-- one or more |-delim of configuration|directory|dialplan -->
  10. <param name="gateway-url" value="http://$${local_ip_v4}/cgi-bin/puppet.cgi" bindings="dialplan"/>
  11. <!-- set this to provide authentication credentials to the server -->
  12. <!--<param name="gateway-credentials" value="muser:mypass"/>-->
  13. <!--<param name="auth-scheme" value="basic"/>-->
  14. <!-- optional: this will enable the CA root certificate check by libcurl to
  15. verify that the certificate was issued by a major Certificate Authority.
  16. note: default value is disabled. only enable if you want this! -->
  17. <!--<param name="enable-cacert-check" value="true"/>-->
  18. <!-- optional: verify that the server is actually the one listed in the cert -->
  19. <!-- <param name="enable-ssl-verifyhost" value="true"/> -->
  20. <!-- optional: these options can be used to specify custom SSL certificates
  21. to use for HTTPS communications. Either use both options or neither.
  22. Specify your public key with 'ssl-cert-path' and the private key with
  23. 'ssl-key-path'. If your private key has a password, specify it with
  24. 'ssl-key-password'. -->
  25. <!-- <param name="ssl-cert-path" value="$${certs_dir}/public_key.pem"/> -->
  26. <!-- <param name="ssl-key-path" value="$${certs_dir}/private_key.pem"/> -->
  27. <!-- <param name="ssl-key-password" value="MyPrivateKeyPassword"/> -->
  28. <!-- optional timeout -->
  29. <!-- <param name="timeout" value="10"/> -->
  30. <!-- optional: use a custom CA certificate in PEM format to verify the peer
  31. with. This is useful if you are acting as your own certificate authority.
  32. note: only makes sense if used in combination with "enable-cacert-check." -->
  33. <!-- <param name="ssl-cacert-file" value="$${certs_dir}/cacert.pem"/> -->
  34. <!-- optional: specify the SSL version to force HTTPS to use. Valid options are
  35. "SSLv3" and "TLSv1". Otherwise libcurl will auto-negotiate the version. -->
  36. <!-- <param name="ssl-version" value="TLSv1"/> -->
  37. <!-- optional: enables cookies and stores them in the specified file. -->
  38. <!-- <param name="cookie-file" value="$${temp_dir}/cookie-mod_xml_curl.txt"/> -->
  39. <!-- one or more of these imply you want to pick the exact variables that are transmitted -->
  40. <!--<param name="enable-post-var" value="Unique-ID"/>-->
  41. </binding>
  42. </bindings>
  43. </configuration>