fs_setcrypt - Modifies the state of encryption for Cache Manager operations
fs setcrypt [-crypt] <on/off> [-help]
The fs setcrypt command sets the status of network traffic encryption for the Cache Manager. This encryption applies to communications between the Cache Manager and File Servers or Location Servers.
The actual use of encryption and the chosen encryption algorithm is determined by the existence of valid rxkad or yfs-rxgk tokens and the security policies (if any) applied to the File Servers.
The default encryption status is enabled on Microsoft Windows. It is disabled on all non-Windows clients by default. You may enable encryption by default on non-Windows platforms by executing fs setcrypt -crypt on immediately after the client daemon starts. For example, on Linux, you can do this within the SysV init script, or with systemd's ExecStartPost parameter.
When rxkad tokens are in use, network communications will be encrypted using an encryption algorithm called fcrypt. Fcrypt is based on DES but is slightly weaker. Fcrypt and DES are obsolete. Consider upgrading the cell to use yfs-rxgk to obtain support for AES256 encryption.
Encrypting file traffic requires a token. Unauthenticated connections or connections authorized via IP-based ACLs will not be encrypted even when encryption is turned on.
This is the only option to fs setcrypt.
The -crypt option takes either
on enables encryption.
off disables encryption.
Since this is the only option,
-crypt flag may be omitted.
false are not supported as replacements for
Prints the online help for this command. All other valid options are ignored.
This command produces no output other than error messages.
There are only four ways to invoke fs setcrypt. Either of:
% fs setcrypt -crypt on % fs setcrypt on
will enable encryption for authenticated connections and:
% fs setcrypt -crypt off % fs setcrypt off
will disable encryption.
The issuer must be logged in as the local superuser root.
The description of the fcrypt encryption mechanism at http://surfvi.com/~ota/fcrypt-paper.txt.
Copyright 2007 Jason Edgecombe <firstname.lastname@example.org>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.