Manually specify share security options for NFS
Configure NFS share security settings directly in the Ceph NFS service configuration files when you need fine‑grained control over encryption requirements. This method is useful when managing complex deployments, custom TLS setups, or when avoiding command‑line defaults.
Before you begin
- Administrative privileges to modify share configurations.
- The TLS backend can be OpenSSL. This is a compile-time option.
Note: To enable TLS support in NFS, you must select
USE_OPENSSLfor OpenSSL backend during compile time.
About this task
NFS share security settings directly in the NFS share files. It provides guidance on selecting TLS or mutual TLS (mTLS) requirements, defining TLS parameters such as certificates and cipher policies, and preparing the environment for secure NFS access.
Procedure
Results
After setting the TLS configuration, the Ceph command changes.
ceph nfs export create cephfs mynfs /export3 myfs --xprtsec tls