wso2carbon

SSL-Connection causes javax.net.ssl.SSLException: hostname in certificate didn't match (WSO2 Api Manager / Tomcat)

孤人 提交于 2020-01-21 15:21:28
问题 I am currently setting up a dockerized WSO Api Manager. We have got a wildcard certificates for our domain. I successfully transformed it into a java keystore and replaced the two jks files. When I open the API manager, I get no ssl warnings and the browser marks my connection as secure. When I try to login I get an error : In the log files I get : TID: [-1234] [] [2017-03-24 11:37:55,305] INFO {org.apache.axis2.transport.http.HTTPSender} - Unable to sendViaPost to url[https://localhost:9443

WSO2 Installation error

ⅰ亾dé卋堺 提交于 2020-01-17 05:02:50
问题 Hoping you can help, I've installed WS02 EMM product on our server. I've followed the instruction on setting the SMTP setting etc... I've gone to start the service and I get the following error. C:\Windows\system32>cd C:\wso2emm-2.0.1\wso2emm-2.0.1\bin C:\wso2emm-2.0.1\wso2emm-2.0.1\bin>wso2server.bat JAVA_HOME environment variable is set to C:\Program Files\Java\jre1.8.0_92 CARBON_HOME environment variable is set to C:\WSO2EM~1.1\WSO2EM~1.1\bin\.. Java HotSpot(TM) 64-Bit Server VM warning:

I am unable to get the list of services with in the applicaton i.e.; wso2 governance registry? I am working with binary code

牧云@^-^@ 提交于 2020-01-14 05:34:53
问题 I am trying to get the list of services which are in the resource path /_system/governance/trunk/services. So initially I am trying to get the resource using registry api. I tried in two ways. one way is `CarbonContext cCtx = CarbonContext.getCurrentContext(); Registry registry = cCtx.getRegistry(RegistryType.SYSTEM_CONFIGURATION); String registryType = request.getParameter("registryType"); if(registryType != null) { registry = cCtx.getRegistry(RegistryType.valueOf(registryType)); } String

WSO2 - disable HTTPS

☆樱花仙子☆ 提交于 2020-01-13 06:09:10
问题 How can I disable HTTPS for WSO2 Api Manager (admin/gw/other components)? We want to SSL-terminate on our front load-balancers - and not on the end WSO2-products. If I visit port 9763 I'll get redirected to 9443. We're running 2.1.0 deployed with the docker-images. 回答1: You have to do the following, Go to the $WSO2_HOME/repository/conf and open carbon.xml, and uncomment <EnableHTTPAdminConsole>true</EnableHTTPAdminConsole> Disable secure cookie parameter in $WSO2_HOME/repository/conf/tomcat

How to create a custom asset-attributes.hbs for each new artifact for the STORE?

ε祈祈猫儿з 提交于 2020-01-11 10:21:30
问题 Im using WSO2 Governance Registry 5.2.0. When I create a new artifact type, it containt a lot of new fields (You create and define this XML in the CARBON ADMIN CONSOLE). So in the PUBLISHER you can see the new fields, create and consult a new item of the artifact. But the problem is in the STORE, I cannot see the this new fields. So in order to do this, I made the custom fields available by modifying GREG_HOME>/repository/deployment/server/jaggeryapps/store/extensions/app/greg-store-defaults

getPayloadJSON returning an empty object

删除回忆录丶 提交于 2020-01-11 03:46:39
问题 I am doing some very simple script mediation as a test to see if I can change the payload being returned by my server. My unmediated payload comes out as: {"origin":"202.37.75.130"} Then I try doing a very simple check to see whether get and set work for payloads: <script language="js"> var older = mc.getPayloadJSON(); var newer=older; mc.setPayloadJSON(newer); </script> My result from this is: {"jsonObject":""} I have done testing that shows that setPayloadJSON() works, which means that my

Accessing amazon ec2 windows instance web server from public ip

安稳与你 提交于 2020-01-07 09:05:11
问题 I am new to amazon web services and i want to access amazon windows instance from public-ip. I have created ec2 instance with windows server r2 2012 and add a load balancer to listen HTTP requests and also add a elastic ip to that instacne. It also has been assigned to a security group which has all-tcp, all-udp, http and HTTPS from anywhere(0.0.0.0). There is a carbon web server started as a windows service inside with (http://localhost:9443/). what i want is to access it from my web browser

How to install features in wso2 using OSGI Console

随声附和 提交于 2020-01-07 03:40:34
问题 I am new to wso2.. I have searched through articles and found that ,we can install features into carbon using OSGI Console... For eg,I want to install student management feature (Sample) in wso2 carbon,without using feature management( without UI ) . How to do this... I have the REPO in my local (Say D://p2-repo) I want to install these features in carbon using OSGI console Steps Tried 1) Started wso2 in OSGI console ( bin\wso2server.bat -DosgiConsol ) 2) Then i need to add the Repo right? 3)

How the external authentication handled in WSO2 APIM for an external/Third Party APIs

爱⌒轻易说出口 提交于 2020-01-06 04:53:25
问题 I am using WSO2 APIM (2.5.0) and IS (5.6.0). They both are integrated and working well. Now, if I onboard an third party API in API Management and using oauth token I can be able to access it. But question is how to handle any external or third party APIs which has its own authentication. SO basically, using WSO2 APIM token I can be able to access the onboarded API to use but we will not be able to get any response as the onboarded API has its own authentication (basic or oauth). How to

WSO2 ESB: Backup also the wso2carbon.log file over several days?

折月煮酒 提交于 2020-01-06 02:50:40
问题 In WSO2 ESB 4.5.1 has several log file in the repository/logs folder. But an important "wso2carbon.log" is only containing the whole log of one day. Then at midnight it is flushed. Because other log files in the same directory (wso2-esb-service.log or http_access.log) have this feature are being kept a couple of days. How can I keep the wso2carbon.log files also for some days? (WSO2 should just rename them, not delete them). Here my log4j.properties in the conf directory: log4j.rootLogger