No `api-manager.xml` configuration file inside WSO2 Identity server - wso2-api-manager

I'm trying to configure WSO2 Identity Server as a key manager for WSO2 Api Manager by following this tutorial.
In that, under step-4, following instructions are there.
For this purpose open the /repository/conf/api-manager.xml
file and change the element that appears under the
section, so that it points to the API Manager server.
But there is no api-manager.xml file inside <IS_KM_HOME>/repository/conf/. I'm using WSO2 Identity Server 5.6.0.
Does anyone know where can I find this api-manager.xml file?

This XML file exists only in WSO2 IS as a Key Manager (WSO2 IS-KM). Please refer[1][2]. You can download the IS as KM from [2]. For API Manager 2.6.0, IS as KM version is 5.7.0. IS 5.6.0 is not a Key manager hence it will not include that configuration file.
[1]https://docs.wso2.com/display/AM260/Configuring+WSO2+Identity+Server+as+a+Key+Manager
[2]https://wso2.com/api-management/install/key-manager/
Thanks

Related

How to get the front version of wso2 api manager?

I have deployed WSO2 API manager4.0.0 All-in-one on my vm, which was downloaded from WSO2 API Manager website, “click TRY IT NOW, and then click Zip Archive to download the API Manager distribution as a ZIP file”.
I could find component versions from pom.xml , which were under the path of \repository\deployment\server\webapps. Most of the war or jar were built from carbon-apimgt and identity-governance、identity-apps.
But I can't find where was the front version, I don't know what' difference between repo apim-apps and jaggery.
If apim-apps is the front source of apim, what's the version or tag it build from?
I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this
UI source code was moved to apim-apps repository after the WSO2 APIM 4.0.0 release. So, if you want to access the UI source code of APIM 4.0.0 you have to refer to carbon-apimgt-v9.0.174. Following are the links to each portal.
Publisher Portal
Developer Portal
Admin Portal

upgrading wso2 api manager with custom url and https

https://docs.wso2.com/display/AM210/Upgrading+from+the+Previous+Release
I am following this to upgrade WSO2 API-M 2.0.0 to 2.1.0.
My 2.0.0 API-M has custom url configured and https certificates configured to map the url.
If i follow the migration as in the document , Will these things gets automatically migrated? Or will i have to manaully change the url in all the configuration files and also do the changes for https ?
I believe you are referring to [1] which is configuring custom URLs per tenant. If so you do not have to redo these configuration in the registry since the new deployment will be pointing to the same registry database as given in the migration documentation.
The changes done to configuration files in the file system, has to be re done in the APIM 2.1.0 pack. You can do a diff of the file system and do those changes.
The SSL certificates also have to be imported again. As an alternative, you can copy the keystores and truststores to the APIM 2.1.0 from the older version instead.
[]https://docs.wso2.com/display/AM200/Customize+the+API+Store+and+Gateway+URLs

When an API created in publisher portal, where does the api definition created (in wso2 folder directory)?

I wanted see where the yaml/json files of an api stored in wso2 directory.
API definition is only stored in the Registry database. It won't be stored in the physical file system.

WSO2 API Manager UserInformationRecoveryService is not listed in admin services

I am trying to setup WSO2 API Manager version 2.
I wanted to send an email for user activation. After going through documentation and blogs I came to know that I need UserInformationRecoveryService.
But when I start my WSO2 API Manager with OSGI console flag to run listAdminServices command, in the list I could not get the name ad url for UserInformationRecoveryService.
Can someone guide me on how to install this service in WSO2 API Manager version 2?
Thanks in advance.
Yes, UserInformationRecoveryService is not included by default in API Manager. You need to install that feature. Please refer this article [1].

Windows Azure: how to update service definition for existing VM role?

I am reviewing Azure Connect, included in the Azure SDK 1.3.
The goal is to connect an existing VM role machine to an already configured local endpoint. Note: using a Web role is not an option.
I need to make the configuration changes described here.
I can update the configuration file, but I first need to be able to update the service definition (.csdef) file to add this entry:
<Import moduleName="Connect" />
Problem: can I update the service definition file without Visual Studio?
Yes, you can update the ServiceDefinition.csdef file with any text editor... and you can package any Windows Azure app with the cspack commandline tool. (This does require the SDK to be installed, but not Visual Studio.)

Resources