ONTAP自动生成证书名称时的命名规则是什么?
适用场景
- ONTAP 9
- 通过命令行续订ONTAP自签名SSL证书
问题解答
cert-name
时,它将与 common-name
同名。但是,如果 已存在具有相同common-name
的证书,则 cert-name
将采用<common-name>_<serial>
的形式。ontap912::> security certificate create -common-name test -type server -vserver ontap912
The certificate's generated name for reference: test
ontap912::*> security certificate create -common-name test -type server
The certificate's generated name for reference: test_1812D5EF5CFFB4C1
ontap912::> security certificate show -common-name test
Vserver Serial Number Certificate Name Type
---------- --------------- -------------------------------------- ------------
ontap912 1812D587C662AC6F
test server
Certificate Authority: test
Expiration Date: Sat Dec 20 17:33:05 2025
ontap912 1812D5EF5CFFB4C1
test_1812D5EF5CFFB4C1 server
Certificate Authority: test
Expiration Date: Sat Dec 20 17:40:30 2025
2 entries were displayed.