DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

SBOMs are essential to circumventing software supply chain attacks, and they provide visibility into various software components.

Related

  • What Do We Know About Tomcat 9.0
  • Living in a World Without Neil Peart
  • What They Don’t Teach You About Starting Your First IT Job
  • Power BI Embedded Analytics — Part 3: Power BI Embedded Demo

Trending

  • How to Build a Real API Gateway With Spring Cloud Gateway and Eureka
  • Docker Model Runner: Running AI Models Locally Made Simple
  • From Java 8 to Java 21: How the Evolution Changed My Developer Workflow
  • How Predictive Analytics Became a Key Enabler for the Future of QA
  1. DZone
  2. Culture and Methodologies
  3. Career Development
  4. Running WSO2 Identity Server on Port 443

Running WSO2 Identity Server on Port 443

Read on to learn how to access the WSO2 Identity Server using HTTPS without needing to specify a port number in the URL.

By 
Raihaan Cassim user avatar
Raihaan Cassim
·
Nov. 04, 16 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
6.4K Views

Join the DZone community and get the full member experience.

Join For Free

My day job currently has me playing with WSO2's Identity Server. In very simple terms, WSO2's Identity Server is used for identity and entitlement management across applications within an environment. It's quite a comprehensive product and is worth a look if you need to solve problems related to authentication, authorization, provisioning, etc. within your organization.

By default, the Identity Server starts up on the HTTPS protocol and runs on port 9443. No problems there. However, the standard HTTPS port is 443 so it is very conceivable that you may want to change Identity Server to run on the standard port instead.

Fortunately for us, Identity Server runs inside Tomcat so it's simply a matter of configuring Tomcat accordingly.

To do this, find the catalina-server.xml file that's contained inside the Identity Server distribution. It is located in the <WSO2-IS-HOME>/repository/conf/tomcat/ directory.

Locate the connector for port 9443. It should look similar to the below XML snippet:

.....
port="9443"
bindOnInit="false"
sslProtocol="TLS"
sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"
server="WSO2 Carbon Server"
clientAuth="want"
.....

Update the connector to look as follows:

.....
port="443"
bindOnInit="false"
sslProtocol="TLS"
sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"
server="WSO2 Carbon Server"
clientAuth="want"
.....

Notice that all we've done is change the port value from 9443 to 443. That's it! Job done. Now, you can access Identity Server using HTTPS without needing to specify a port number in the URL.

This was tested on Identity Server version 5.1.0.

HTTPS career Apache Tomcat IT Connector (mathematics) authentication application Snippet (programming) Locate (Unix) Distribution (differential geometry)

Published at DZone with permission of Raihaan Cassim. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • What Do We Know About Tomcat 9.0
  • Living in a World Without Neil Peart
  • What They Don’t Teach You About Starting Your First IT Job
  • Power BI Embedded Analytics — Part 3: Power BI Embedded Demo

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: