Update redfish rsp code for cert update/install

Changes:
    - Updated redfish response code to expect either 200 or 204
      while updating or installing certificate via redfish.
    - Both client / server certificate response code updated.

Tested:
     - Ran All The Scripts Successfully

Change-Id: Iae3c9c68b433e78c7c51a8891c0df1ac084b8595
Signed-off-by: ganesanb <ganesanb@ami.com>
diff --git a/redfish/managers/test_certificate.robot b/redfish/managers/test_certificate.robot
index 4f62eb4..e9f7fd8 100644
--- a/redfish/managers/test_certificate.robot
+++ b/redfish/managers/test_certificate.robot
@@ -130,7 +130,7 @@
     ...  CertificateType=PEM  CertificateUri=${certificate_dict}
 
     ${resp}=  redfish.Post  /redfish/v1/CertificateService/Actions/CertificateService.ReplaceCertificate
-    ...  body=${payload}
+    ...  body=${payload}  valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
 
     Wait Until Keyword Succeeds  2 mins  15 secs  Verify Certificate Visible Via OpenSSL  ${cert_file_path}