Hello Kishan,
I don't think that's possible to have a mix of authentication for part of endpoint of the same webapp hosted by liberty.
Anyway, I asked for advice to liberty security experts and will transmit you the solution if it exists.
BR,
Mathias
------------------------------
Mathias Mouly
------------------------------
Original Message:
Sent: Mon February 24, 2025 10:01 AM
From: Kishan Kumar
Subject: Implementing mTLS (Mutual TLS) in IBM ODM Using WebSphere
Hi Mathias,
Thank you for your comment and support!
I have successfully configured Mutual TLS (MTLS) for our application, and it is currently applied globally. However, I am now working on restricting MTLS to a specific REST API endpoint only.
I would appreciate any guidance or best practices you can share on how to achieve this configuration.
Looking forward to your support.

------------------------------
Kishan Kumar
------------------------------
Original Message:
Sent: Thu February 20, 2025 07:46 AM
From: Mathias Mouly
Subject: Implementing mTLS (Mutual TLS) in IBM ODM Using WebSphere
Hello Kishan,
To configure the certificate authentication on liberty, you can follow :
Now, the problem you will face if you are replacing entirely the user/password authentication by a certificate authentication is you will have no way to identify who is logging neither what ODM roles you can provide to this authentication. But, perhaps it doesn't matter in your use-case ?
BR,
Mathias
------------------------------
Mathias Mouly
Original Message:
Sent: Wed February 19, 2025 07:48 AM
From: Kishan Kumar
Subject: Implementing mTLS (Mutual TLS) in IBM ODM Using WebSphere
Hi Antony,
We are working with ODM 8.12 and 9.0, both on Liberty server.
Thanks!
------------------------------
Kishan Kumar
Original Message:
Sent: Wed February 19, 2025 03:03 AM
From: Antony Viaud
Subject: Implementing mTLS (Mutual TLS) in IBM ODM Using WebSphere
Hi Kishan,
which ODM version are you using or considering ? When you say WebSphere, are you referring to traditional WAS (no more supported in ODM 8.12 and higher due to the move to Java version > 8 ) or Liberty ?
Thanks
------------------------------
Antony Viaud
Product Manager, IBM Decision Automation