Configuring an NFS Client with Mutual TLS Authentication
This task shows how to configure both the NFS client and server to authenticate each other using certificates during TLS encrypted connections. This ensures that only trusted systems can access NFS shares, providing extra security for sensitive or regulated environments.
Ensure that you have the following:
- An NFSv4 server and client, both with TLS enabled.
- The
ktls-utils
package installed on both systems. - You have the Certificate Authority (CA) certificate from the NFS server, or have generated a self-signed certificate on the NFS server as described in Generating a Self-Signed Certificate for TLS Authentication. If you're using a self-signed certificate begin with the step to import the certificate into the system trust store that follows.