set cert data if passed in as an attribute and ensure once set it is deleted from the node data to ensure the certificates are secured