Hi and sorry for my poor english,
I'm triying to use the PHP script provide from user burton, but the scrip say this:
CREATING TEMP CERT...
<?xml version="1.0" encoding="UTF-8"?>
<Response APIVersion="1800.1" IPS_CAT_VER="0">
<Login>
<status>Authentication Successful</status>
</Login>
<Certificate transactionid="">
<Status code="200">Configuration applied successfully.</Status>
</Certificate>
</Response>
FINDING POLICIES USING CERT: *.edelweiss.es
PHP Notice: Undefined variable: rule_names in /home/ubuntu/script.php on line 176
PHP Notice: Trying to access array offset on value of type null in /home/ubuntu/script.php on line 176
PHP Warning: Invalid argument supplied for foreach() in /home/ubuntu/script.php on line 176
UPLOADING UPDATED CERTs
PHP Notice: Undefined variable: update_policy in /home/ubuntu/script.php on line 268
<?xml version="1.0" encoding="UTF-8"?>
<Response APIVersion="1800.1" IPS_CAT_VER="0">
<Login>
<status>Authentication Successful</status>
</Login>
<Certificate transactionid="">
<Status code="500">Operation could not be performed on Entity.</Status>
</Certificate>
</Response>
PHP Notice: Undefined variable: restore_policies in /home/ubuntu/script.php on line 281
PHP Warning: Invalid argument supplied for foreach() in /home/ubuntu/script.php on line 281
DELETING TEMP CERT...
<?xml version="1.0" encoding="UTF-8"?>
<Response APIVersion="1800.1" IPS_CAT_VER="0">
<Login>
<status>Authentication Successful</status>
</Login>
<Certificate transactionid="">
<Status code="200">Configuration applied successfully.</Status>
</Certificate>
</Response>
I'm using Sophos XG SFOS 19.0.1 MR-1-Build365, the script is running in a Ubuntu 20.
Can you help me please.
Thx for advance
Best Regards
This thread was automatically locked due to age.