Fix to Certificate Management public API failures for domains named using special characters
search cancel

Fix to Certificate Management public API failures for domains named using special characters

book

Article ID: 313194

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:

Public API requests fail with the following error:

{
    "errorCode": "VCF_RUNTIME_ERROR",
    "arguments": [],
    "message": "Something went wrong. Please retry or contact the service provider and provide the reference token.",
    "referenceToken": "XXXXXX"
}


This reason for this could be that the domain name contains characters other than alphabets, numbers and '-' character. These are typically not allowed for creating domain name.

 


Resolution

The issue can be resolved in the below two methods:

Method 1:
- Rename the domain name without invalid characters.

Method 2:
- SSH to sddc-manager terminal
- Edit the file "/etc/nginx/nginx.conf" and replace the regex strings "[a-zA-Z0-9\-\+/)" to "[a-zA-Z0-9\-\<special character in domain name>]+/)"
- Restart the nginx service(systemctl restart nginx.service)