Skip to main content
NetApp Knowledge Base

Can AES encryption be enabled on a CIFS server?

Views:
9,320
Visibility:
Public
Votes:
3
Category:
ontap-9
Specialty:
nas
Last Updated:
4/4/2025, 5:46:59 PM

Applies to

  • ONTAP 9
  • CIFS
  • AES

Answer​​​​​

WARNING

  • The user ID used to run the command must have permission to modify encryption type and change password for computer object in AD, such as a Domain Admin
  • Note: AES must already be enabled on the Domain controller side
  • The SMB server supports the following encryption types for Kerberos communication:
    • AES 256
    • AES 128
    • DES
    • RC4-HMAC
  • To enable AES for an SVM, use the below command:
    • Cluster1::> vserver cifs security modify -vserver <svm_name> -is-aes-encryption-enabled true

Example:

vserver cifs security modify -vserver VS1 -is-aes-encryption-enabled true

Info: In order to update the advertised encryption types, the password for the CIFS server machine account must be reset. Enter the username and password for the CIFS domain "DOMAIN.LOCAL".

Enter your user ID:

  • Beginning with ONTAP 9.12.1, you can specify which encryption types to advertise to the Active Directory (AD) KDC. You can use the -advertised-enc-types option to enable recommended encryption types, and you can use it to disable weaker encryption types. Learn how to enable and disable encryption types for Kerberos-based communication.
    • Cluster1::> vserver cifs security modify -vserver <svm_name> -advertised-enc-types aes-128,aes-256

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.