Questions tagged [wso2-api-manager]

WSO2 API Manager is a complete solution for designing and publishing APIs, creating and managing a developer community, and for scalably routing API traffic.

WSO2 API Manager

Links

  1. Github Repos for components and the product
  2. Website
  3. JIRA
  4. Product Home Page
  5. Documentation
3244 questions
35
votes
5 answers

javax.net.ssl.SSLPeerUnverifiedException: Host name does not match the certificate subject provided by the peer

I follow many links on stackoverflow and tried many solutions, but none of them worked for me. I'm using WSO2 API manager version 1.9.1. I am facing following error: Exception in thread "main" javax.net.ssl.SSLPeerUnverifiedException: Host name…
user5268786
23
votes
2 answers

Difference between grant_type=client_credentials and grant_type=password in Authentication Flow?

I would like to understand the difference between grant_type=client_credentials and grant_type=password in Authentication or in OAuth2 Flow concept. I am following below…
user5778069
15
votes
5 answers

How can I resolve the error "certificate subject name does not match target host name"?

curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer 90d2c018-73d1-324b-b121-a162cf870ac0' 'https://172.17.0.1:8243/V1.0.2/stock/getNA?name=te' The terminal prompted "curl: (51) SSL: certificate subject name…
Mike
  • 419
  • 1
  • 6
  • 16
12
votes
3 answers

Error while trying to connect to the endpoint. Cannot borrow client for ssl

This error is being printed in the WSO2 API Manager wso2carbon.log.. sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88) at…
Janier
  • 3,982
  • 9
  • 43
  • 96
7
votes
2 answers

Application User tokens Gives Resource Forbidden error in WSO2 API Manager

I have configured wso2 identity server as a key manager for wso2 api manager using the following link.1 I have created the api through wso2 api manager publisher.And i have given auth type as Application&Application user. When i am invoking api's…
7
votes
2 answers

WSO2 API Manager CORS

I'd like to enable CORS on my WSO2 API Manager instance for all endpoints. I've been through the documentation (which is great) and it suggests altering the repository/conf/api-manager.xml file as there is a CORS configuration node within it…
Ben Davies
  • 607
  • 8
  • 8
7
votes
1 answer

Jaggery (WS02) endpoint reference/dynamic endpoint

I'm currently developing an application in Jaggery which I deploy on their API manager. From the Jaggery back end I'm calling a SOAP webservice using the method documented here, which specifies: <% var url =…
Continuity8
  • 2,403
  • 4
  • 19
  • 34
7
votes
2 answers

How to set tenant to header in mediator with WSO2 API Manager

I have an API that requires the tenant as a header. If I create a custom in-sequence:
Ricardo Stuven
  • 4,704
  • 2
  • 34
  • 36
7
votes
3 answers

How to validate a JWT from WSO2 API Manager

What is the recommended way for validating that a JWT was issued by a specific API Manager instance in a case where the backend web service lives on a separate server and needs to be certain that a given request passed through the APIM Gateway…
user2789361
  • 91
  • 1
  • 6
6
votes
1 answer

How to determine which grant type was used for an access token

I have an API configured in WSO2 API Manager that allows multiple different OAuth 2.0 grant types (client credentials and openid). My API requires a different behavior depending on whether it was called via an access_token generated by client…
Nikola Kramaric
  • 259
  • 1
  • 6
6
votes
4 answers

WSO2 - disable HTTPS

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…
David Karlsen
  • 138
  • 2
  • 7
6
votes
1 answer

java.security.cert.CertificateException: No subject alternative names present;

I am using WSO2 API Manager version 1.9.1. In this tool, I publish my sample project (i.e., proxied) and subscribe that project to get consumer key and secret. This tool also gives me CURL command which works fine. The below CURL command which runs…
user5707585
5
votes
3 answers

Publish APIM Developer portal through terraform

Hi I have searched through docs on and can't quite find how to publish the developer portal through terraform. My terraform does spool a resource group with an API Management service resource but I want it to also publish the developer portal and…
5
votes
2 answers

WSO2 API Manager Async APIs support

Is it possible in WSO2 API Manager, or maybe is it on the roadmap, to publish an async API, for example in Kafka, and manage it like other sync API with spec (Async API spec), security, analytics, etc? I am not referring to websocket APIs, that I…
Burillodev
  • 322
  • 1
  • 3
  • 14
5
votes
1 answer

WSO2 APIM - Add user roles in JWT payload

I'm developing some SpringBoot microservices that exposes REST through WSO2 APIM. Microservice itself does not implement any kind of authentication or authorization mecanism, it is delegated to APIM. If I set API to use Password Grant as described…
Emilio Numazaki
  • 836
  • 1
  • 5
  • 25
1
2 3
99 100