[CA APIM] Portal 4.1 Enroll error

Document ID : KB000009101
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Can not  "Enroll an External Tenant Gateway".

 

Run the following cURL command with the certificate you created for PORTAL_APIM_TPS_SSL_CERT in portal-local.inc:

 

# curl --header "Accept: application/json" \ --header "Content-Type: application/json" \ --request POST \ --cert ./apim-tps.crt \ --key ./apim-tps.key \ --data @enroll.json \ --insecure \ 

https://portal14229.l7tech.com:38443/provision/tenants 

 

Result: 

" HTTP/1.1 500 Internal Server Error" 

Parsing liquibase file, error message: null 

Environment:
CA API Developer Portal 4.1
Resolution:

The problem occurs when "ssg" is used for "tenantId" of enroll.json.

 

example of  enroll.json:

{

 "adminEmail": "admin@ca.com",

 "auditLogLevel": "ERROR",

 "multiclusterEnabled": true,

 "noReplyEmail": "norepl@ca.com",

 "performanceLogLevel": "ERROR",

 "portalLogLevel": "ERROR",

 "portalName": "Portal TSSG2",

 "subdomain": "l7tech.com",

 "tenantId": "ssg2",

 "tenantType": "ON-PREM",

 "termOfUse": "EULA"

}

Can not use "ssg" in "tenantId".