It is possible to access WSO2 identity server over HTTP protocol. But Its not recommended in production environment.
Step 1 :-
Open carbon.xml file which is located in <IS_HOME>/repository/conf directory and do below changes
When you enable HTTP protocol, you can access admin console using different port(9763)
Step 1 :-
Open carbon.xml file which is located in <IS_HOME>/repository/conf directory and do below changes
<EnableHTTPAdminConsole>true</EnableHTTPAdminConsole>
You can log in to the management console using this url http://localhost:9763/carbon/admin/login.jsp
If you want to expose all WSO2 admin services via HTTP, you need to enable following property in carbon.xml file. It is also commented by default.
<HttpAdminServices>*</HttpAdminServices>
this is commented by default and you have to uncomment the line.
These configurations are enough for WSO2 identity server 5.0.0. If you need to enable http for wso2 identity server 5.1.0, you have to modify web.xml file as mentioned in Step 2.
These configurations are enough for WSO2 identity server 5.0.0. If you need to enable http for wso2 identity server 5.1.0, you have to modify web.xml file as mentioned in Step 2.
Step 2 :-
Modify the web.xml file which is located in <IS_HOME>/repository/conf/tomcat/carbon/WEB-INF directory.
Modify the web.xml file which is located in <IS_HOME>/repository/conf/tomcat/carbon/WEB-INF directory.
<session-config>
<cookie-config>
<secure>false</secure>
</cookie-config>
</session-config>
After all configurations are done, log in to management console using above URL.
Note :-
All communications happening between server and browsers will not be encrypted and are open for attacks such as "Man in the Middle" and "Sniffing" attacks.
Note :-
All communications happening between server and browsers will not be encrypted and are open for attacks such as "Man in the Middle" and "Sniffing" attacks.
Comments
Post a Comment