Bug 2381960 - [BYOK] [RFE] Cephadm NFS service spec does not support SNI (Server Name Indication) for mTLS
Summary: [BYOK] [RFE] Cephadm NFS service spec does not support SNI (Server Name Indic...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: NFS-Ganesha
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 9.0
Assignee: Sachin Punadikar
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks: 2392400
TreeView+ depends on / blocked
 
Reported: 2025-07-18 17:01 UTC by Binod Luitel
Modified: 2025-11-11 11:22 UTC (History)
8 users (show)

Fixed In Version: nfs-ganesha-7.0-0.6.3.el9cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2392400 (view as bug list)
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-11816 0 None None None 2025-07-18 17:01:49 UTC

Description Binod Luitel 2025-07-18 17:01:08 UTC
Description of problem:

Currently with the Ganesha nfs-ganesha-6.5-25, the mTLS connection Ganesha makes to fetch KMIP key using the KMIP key ID currently establishes connection to KMIP server using hostname provided in NFS-Ganesha configuration specification.

The configuration does not allow specifying SNI (Server Name Indication) for the mTLS connection and assumes that the cert it is using for mTLS connection is compartmentalized with the same hostname that it is using. 

But, often times, it is not true and client would have to specify which server it is trying to reach to, which is also true for IBM cloud mTLS implementation. 

Currently the Ingress host are IP addresses and the certs are configured with wildcard domains to facilitate communicate from different services within IMB cloud. Certs does not carry IP for SAN, so we are needing to workaround by mapping IPs to hostname locally using /etc/hosts

We'd like to get away from using workaround and use the proper SNI for mTLS.


Version-Release number of selected component (if applicable):

nfs-ganesha-6.5-25
ceph-19.2.1-234

How reproducible:

Use a valid certs that does not have SAN configured with exact domain match for KMIP server hostname. Try making the connection with TLS configured to SNI, connection should be successful and then try without SNI, connection should be unsuccessful.

Steps to Reproduce:
1. Use a valid certs that does not have SAN configured with exact domain match for KMIP server hostname.
2. Try making the connection without TLS configured to SNI, connection should be unsuccessful.
3. Try making the connection with TLS configured to SNI, connection should be successful.

Actual results:

SNI cannot be configured for KMI mTLS connection.

Expected results:

Ganesha config needs to accept SNI for KMIP mTLS connection.

Additional info:

NA


Note You need to log in before you can comment on or make changes to this bug.