...
Sign in to WSO2 API Cloud (https://api.cloud.wso2.com) as an admin user.
On the API Publisher, click Configure and then select Custom URL from the drop-down menu.
This displays the Manage Custom Domains page.Under API Portal, click the pencil icon to edit the existing Custom Domain of the Store.
This displays the Modify Store Custom Domain page dialog box where you can spcify a custom Domain Name for the Store.- Specify a valid Domain Name and click Verify. This checks whether the CNAME record exists for the specified URL.
If the CNAME verification is successful, you will see the following screendialog box:
For each field, upload a valid file that meet the specified requirements.
Field Requirements SSL Certificate This certificate file must satisfy the following requirements: Should be in X509 format.
Should not be expired.
Should be issued directly or by a wild card entry for a provided custom URL. For example,
In the direct method, if the CNAME is
store.wso2.com
, the issued SSL file must containstore.wso2.com
.In the wildcard method, if the CNAME is
store.wso2.com
, the issued SSL file should be*.wso2.com
.
SSL Key File The private key of the certificate, which should be encrypted in the RSA format. Chain File The chain file to be used if the SSL connection to your custom URL fails with the SSL Certificate and SSL Key File. Click Proceed. If the certificate files upload successfully, you will see a notification that says
Custom URL mapping is successfully added
, which means similar to the following:
This confirms that you have successfully changed the API Store domain name.Tip It takes approximately 10 minutes for the changes to apply. Adding the configurations and restarting the load balancers can take some time.
Access the API Store using your new URL. In this example, the new API Store URL is
https://developers-teststore1.wso2stagingapps.com
.