Hi, I am using this script from user burton
However since MR1 it is broken when it tries to set the 2nd rule with the temporary certificate:FINDING POLICIES USING CERT: owncloud
FOUND MATCHING POLICY RULE TO BE UPDATED: Clone_owncloud
FOUND MATCHING POLICY RULE TO BE UPDATED: owncloud
FINDING ASSIGNED GROUPS FOR RULE: Clone_owncloud
FOUND MATCHING FIREWALL RULE GROUP: Traffic to Internal Zones
FINDING ASSIGNED GROUPS FOR RULE: owncloud
FOUND MATCHING FIREWALL RULE GROUP: Traffic to Internal Zones
APPLYING TEMP CERT FOR POLICY RULE: Clone_owncloud
<?xml version="1.0" encoding="UTF-8"?>
<Response APIVersion="1800.1" IPS_CAT_VER="1">
<Login>
<status>Authentication Successful</status>
</Login>
<FirewallRule transactionid="">
<Status code="200">Configuration applied successfully.</Status>
</FirewallRule>
</Response>
APPLYING TEMP CERT FOR POLICY RULE: owncloud
PHP Fatal error: Uncaught Exception: String could not be parsed as XML in /root/update_xg_cert_owncloud.php:226
Stack trace:
#0 /root/update_xg_cert_owncloud.php(226): SimpleXMLElement->__construct()
#1 {main}
thrown in /root/update_xg_cert_owncloud.php on line 226
Any idea why that happens? I am completely noob in PHP and API.
This thread was automatically locked due to age.