Public URL for download WSO2 API manager and WSO2 APIM Analytics - wso2

I'm currently working on creating docker images for WSO2 APIM and APIM analytics distribution. For that I need to download the products through a wget command. Where can we download these products apart from the github release page.

wget --user-agent="testuser" --referer="http://connect.wso2.com/wso2/getform/reg/new_product_download" http://product-dist.wso2.com/products/api-manager/2.1.0/wso2am-2.1.0.zip
For analytics
wget --user-agent="testuser" --referer="http://connect.wso2.com/wso2/getform/reg/new_product_download" https://product-dist.wso2.com/products/api-manager/2.1.0/wso2am-analytics-2.1.0.zip
Try above.

WSO2 do not allow to download products via wget. (There are hacky ways you can, but it's not recommended.) If you need to download via wget, you should download the product from product page manually and host it somewhere.

Version 3.1.0
1.APIM 3.1.0
wget --user-agent="testuser" --referer="http://connect.wso2.com/wso2/getform/reg/new_product_download" https://product-dist.wso2.com/products/api-manager/3.1.0/wso2am-analytics-3.1.0.zip
2.APIM ANALYTICS 3.1.0
wget --user-agent="testuser" --referer="http://connect.wso2.com/wso2/getform/reg/new_product_download" https://product-dist.wso2.com/products/api-manager/3.1.0/wso2am-analytics-3.1.0.zip

Related

unable to get docker image for wso2 IS 6.0.0

I was using public repo for wso2is i.e wso2/wso2is:5.10.0 however when I try to upgrade to 6.0.0 it does not let me pull the image. Looks like 6.0.0 is not on the public repo. How do I get 6.0.0, do we need to have active subscription to use the private wso2 ?
IS 6.0.0 docker image is available in the wso2 docker registry https://wso2.com/identity-and-access-management/install/docker/get-started/. You need to have the wso2 account to get the U2 updated IS 6.0.0 docker image. If you want to build a docker image from an open-source distribution, you can build it locally by providing the product. You can check out this readme for further information. https://github.com/wso2/docker-is/tree/master/dockerfiles/ubuntu/is
Looks like this is not been pushed to docker hub. You can simply build it using the docker file here[1]
[1]. https://github.com/wso2/docker-is/blob/6.0.x/dockerfiles/ubuntu/is/Dockerfile

WSO2 APIM 3.0.0 install/config problem with Publisher and Store: "invalid_callback - Registered callback does not match with the provided url"

After installing version 3.0.0 of the WSO2 API Manager I am getting errors trying to access the Publisher and the Store.
This is the error at the Store (https://myhost.my.org:9443/store)
Error 405 - Method Not Allowed
As for the Publisher, the url https://myhost.my.org:9443/publisher redirect to this url...
https://myhost.my.org:9443/authenticationendpoint/oauth2_error.do?oauthErrorCode=invalid_callback&oauthErrorMsg=Registered+callback+does+not+match+with+the+provided+url
...and displays this error message:
invalid_callback - Registered callback does not match with the provided url
Notes:
I can access the admin page just fine (https://myhost.my.org:9443/carbon)
I replaced every occurance of 'localhost' with 'myhost.my.org' in every file in .../wso2/wso2am/3.0.0/repository/conf, including 'carbon.xml'
Logs reveal the following: (.../wso2/wso2am/3.0.0/repository/logs/wso2carbon.log)
WARN {org.wso2.carbon.identity.oauth2.OAuth2Service} Provided Callback URL does not match with the provided one.
Stack:
Ubuntu 18.04
OpenJDK 11.0.4
WSO2 API Manager 3.0
Installation steps followed:
https://apim.docs.wso2.com/en/latest/GettingStarted/quick-start-guide/
Installation commands:
sudo apt install openjdk-11-jre-headless
java -version
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)
sudo wget https://product-dist.wso2.com/downloads/api-manager/3.0.0/downloader/wso2am-linux-installer-x64-3.0.0.deb
sudo apt install ./wso2am-linux-installer-x64-3.0.0.deb
sudo service wso2am-3.0.0 start
The installation notes refer to localhost/127.0.0.1. But I am installing on myhost.my.org.
Files manually modified in .../wso2/wso2am/3.0.0/repository/conf (replaced 'localhost' with 'myhost.my.org' and '127.0.0.1' with 'this.is.my.ip'):
api-manager.xml
broker.xml
carbon.xml
datasources.properties
deployment.toml
event-broker.xml
log4j2.properties
messaging-event-broker.xml
metrics.xml
registry.xml
thrift-authentication.xml
Any ideas? Thanks!
You have to update the callback URL in the Service Provider.
1) Go to /carbon and edit the relevant SP.
2) Edit the OAuth app in it.
You will see the callback URL like this.
regexp=(https://localhost:9443/publisher/services/auth/callback/login|https://localhost:9443/publisher/services/auth/callback/logout)
Update all occurrences of localhost with your hostname.
Save both OAuth app and SP.
About:
his is the error at the Store (https://myhost.my.org:9443/store)
Maybe you can find what you need at https://myhost.my.org:9443/devportal
If you encounter the same error with callback URL on devportal, log into Management Console, under list of Service Providers, edit admin_admin_store instead.

download wso2 identity server by using wget in unix

I am setting up WSO2 Identity server in my AWS EC2 instance.
What is the URL to WGET so that i can download the installation.I cant find the URL in the website anywhere
The version of identity server is 5.3.0 and I am using the prepackaged version so that i can use it as the key manager. I tried some urls from the download links.But whats the official page which tells which urls to use?Is there a product page which tells how to download in Unix box
How can i download in Unix box?which URL to use ?
Use below for downloading latest Identity Server release.
wget --user-agent="testuser" --referer="http://connect.wso2.com/wso2/getform/reg/new_product_download" http://product-dist.wso2.com/products/identity-server/5.3.0/wso2is-5.3.0.zip
For latest API Manager, use below
wget --user-agent="testuser" --referer="http://connect.wso2.com/wso2/getform/reg/new_product_download" http://product-dist.wso2.com/products/api-manager/2.1.0/wso2am-2.1.0.zip

How to install wso2 products on pure wso2 carbon

My requirement is need to install (ESB,Application Server,Data Service Server,Api Manager,BAM) on pure wso2 carbon 4.2.0.
Is it possible to install all these products on Carbon?
I want to install multiple products on same carbon instance . I downloaded the P2_REPO from this site http://wso2.com/projects/carbon/provisioning-wso2-carbon-with-equinox-p2 and tried feature installation using UI,but it is not allowing me.
Can anyone tell me the best possible way to do this. I want multiple products on same carbon
Your soon reply will be highly appreciated
This can be easily install features through UI following this documentation, https://docs.wso2.org/display/Carbon420/Installing+Features+via+the+UI
It will be easy for you to go by product by product rather than selecting all feature group at once.
Download wso2 manually in direct wso website either deb or rpm package
a)check command: whereis wso2
b) move wso2 folder to /opt directory
/opt/wso2/wso2am/2.6.0/repository/conf/api-manager.xml
a)check and add the domain in gatewayendpoint
b)https://xxxxxxxxxx
disable comment line below
http://${carbon.local.ip}:${http.nio.port},https://${carbon.local.ip}:${https.nio.port}-->
/opt/wso2/wso2am/2.6.0/repository/conf/carbon.xml
a) Add below line hostname
uncomment www.wso2.org
xxxxxxx
xxxxxxxxxx
start with below command
JAVA_HOME=/path/jdk1.8.0_192 /path/wso2am-2.6.0/bin/wso2server.sh &
Reference mutual ssl:
https://docs.wso2.com/display/AM210/Mutual+SSL+Support+for+API+Gateway

How to install wso2 BAM

I downloaded zip file in wso2 and i extracted the file as /home/Downloads/jacksphere/LatestVersion/wso2bam-2.3.0/bin and run at server side,but it is not showing some errors,is there any pre requisites to install the product any one help us and explain the procedure how to run the bam server..
The only pre-requisite required for running WSO2 BAM is JDK1.6 or higher. For further information please checkout the documentation WSO2 BAM Documentation
If you have downloaded the zip file then you can simply extract it and start the server by moving to bin directory and executing the command ./wso2server.sh (in Linux) or wso2server.bat (in Windows).
You also need to install JDK 1.6 or 1.7. Apache Ant and Curl will also be required to run samples.
If you are working with Windows you need to install Cygwin.
You can further refer to the BAM documents in [1] about installing the product.
[1] http://docs.wso2.org/wiki/display/BAM230/Installing+the+Product