Hi All,
I am deploying an action with the secure parameters. While i am trying to deploy the action with the computer name , i am getting the following error.
“Bad Request: Cannot send the action with secure parameter: at least one of the targeted endpoints doesn’t have the computer certificate”. The body for this is as below:
<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd">
<SourcedFixletAction>
<SourceFixlet>
<Sitename>Test</Sitename>
<FixletID>274</FixletID>
<Action>Action1</Action>
</SourceFixlet>
<Target>
<ComputerName>bigfix-app01</ComputerName>
</Target>
<SecureParameter Name="DB_User">demo</SecureParameter>
<SecureParameter Name="DB_Pwd">Demopass</SecureParameter>
</SourcedFixletAction>
</BES>
While i use the same XML with the computer ID , this is working fine.
<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd">
<SourcedFixletAction>
<SourceFixlet>
<Sitename>Test</Sitename>
<FixletID>274</FixletID>
<Action>Action1</Action>
</SourceFixlet>
<Target>
<ComputerID>12345</ComputerID>
</Target>
<SecureParameter Name="DB_User">demo</SecureParameter>
<SecureParameter Name="DB_Pwd">Demopass</SecureParameter>
</SourcedFixletAction>
</BES>
My question is does secure parameters works on only computer ids?