Unable to deploy cert because the organization field contains "&"
search cancel

Unable to deploy cert because the organization field contains "&"

book

Article ID: 260927

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When we try to deploy a cert via Postman curl command, we could not because of the organization field containing "&" in Company Name & Services. This impacts our ability to deploy via Jenkins/Ansible

Environment

Release :

Cause

Bad Request caused when not encoding the & when posting to restman 

Resolution

The & needs to be encoded change the subject:

From 

<l7:SubjectDn>CN=UserID, OU=support, O=Company Name & Services, L=HomeTown, ST=Maryland, C=US</l7:SubjectDn>

TO

<l7:SubjectDn>CN=UserID, OU=support, O=Company Name &amp; Services, L=HomeTown, ST=Maryland, C=US</l7:SubjectDn>