DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  SOMA script to append cert object to valcred

    Posted Fri October 27, 2023 10:28 AM

    I try to append one certificate object to DP validation credential objects by using SOMA script, is there a way that I only specify the certificate obj I want to append to the valcred obj and make the cert obj  appended to valcred, I did the test, the cert could be added, but the existing cert objects  in the valcred would go away.

    thanks,



    ------------------------------
    mu cao
    ------------------------------


  • 2.  RE: SOMA script to append cert object to valcred

    Posted Fri October 27, 2023 10:48 AM

    When adding a new certificate object to a validation credential, you need to rebuild the entire certificate object array.  That is, suppose you have certs, A, B, and C, and you want to add cert D.  When you use modify, you'll have to provide all 4 certificates to the array in the modification request. 

    I know it feels like a plug, and it is. I guess.  I'm not sure why the world isn't catching on to this great tool.  Kumbasoft's DPAA does this with a few clicks of the mouse!  Not only that, when modifying any array based configuration, you can modify many objects at once, across as many domains as you wish, across as many appliances as you have, and DPAA will synchronize all the changes for you, so you only have to make the changes once, even if you are modifying 100!  

    In other words, using DPAA to do this, all you'd have to do is search for valcred objects (easy), select all the ones you need to modify, right-click and select the "Manage Crypto Validation Credential Certificates..." menu option.  From there, you can add the cert.  DPAA will create 10 rows if you are modifying 10 valcreds.  It gives you a drop-down of the available certs on the box.  Select the cert you want to add.  When you do that, DPAA will make the same change to all the other 9 (or however many) rows.  Then just click Finish and you're done.   No coding!   No worries.  Not only that, DPAA allows you to make a backup of the current list of valcred certs (or any array based property).  You can then use that backup list to either recover the previous set, or, you can apply that same backed up list of certs to other valcreds.  

    I use this DPAA all the time.  I will NEVER go back to not using it for regular administration.  Though it isn't a development tool, I've even built and rebuilt configurations with it.  It is so robust and so easy.  You should definitely try it.



    ------------------------------
    Joseph Morgan
    ------------------------------



  • 3.  RE: SOMA script to append cert object to valcred

    Posted Fri October 27, 2023 02:19 PM

    Thanks Morgan, will try the tool.



    ------------------------------
    mu cao
    ------------------------------