Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input data has be to be a part of body, but not the header for import certificate method in enclosure #354

Closed
AnushaY1916 opened this issue May 22, 2018 · 1 comment
Assignees

Comments

@AnushaY1916
Copy link
Collaborator

Scenario/Intent

While importing certificate for an enclosure, the input which has certificate type and base64Data has to be part of the body but not the header

Environment Details

  • OneView SDK Version: 600
  • OneView Appliance Version: All
  • OneView Client API Version: All
  • Ruby Version: All
  • Platform: All

Steps to Reproduce

call import_certificate method for enclosure

Expected Result

should install the certificate on the enclosure if its digitally signed or else should throw an error

Actual Result

Throws a error saying "Header field value cannot include CR\LF"

@AnushaY1916
Copy link
Collaborator Author

While importing/installing the certificate it requires two fields in the request body which are type(certificate type) and base64Data(encrypted data). Sending these two fields in header gives an error. So, made changes so that these fields will be in the request body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant