Internal error when running "security ssl modify"
Applies to
ONTAP 9
Issue
Certificate created
Cluster1::> security certificate show -vserver Cluster1 -common-name Cluster1 -type server
Vserver Serial Number Certificate Name Type
---------- --------------- -------------------------------------- ------------
Cluster1
11ABA01AA1ABXXYY
Cluster1_11ABA01AA1ABXXYY server
Certificate Authority: Cluster1
Expiration Date: Sat Jan 01 12:01:11 2025
However, when trying to modify the certificate getting error:
Cluster1::> security ssl modify -vserver Cluster1 -server-enabled true -client-enabled false -common-name Cluster1 -serial 11ABA01AA1ABXXYY -ca Cluster1
(security ssl modify)
Warning: The certificate Cluster1 is a self-signed certificate, which offers no verification of identity by client machines. This presents the risk of
man-in-the-middle attacks by malicious third-parties.
Do you want to continue? {y|n}: y
Error: command failed: Internal error
AUDIT.log
Tue Jan 1 2024 08:57:12 +00:00 [kern_audit:info:1111]:: Cluster1:ssh :: 192.168.0.100:56354 :: Cluster1:admin :: security ssl modify -vserver Cluster1 -server-enabled true -client-enabled false -common-name Cluster1 -serial 11ABA01AA1ABXXYY -ca Cluster1 :: Error: Internal error
MGWD.log
Tue Jan 1 2024 08:57:12 +00:00 [kern_mgwd:info:1111] A [src/rdb/sql_local_unit.cc 796 (0x111111f00)]: sqlite_logger: SQLite Error: (11) database corruption at line 84588 of [698edb7753]
Tue Jan 1 2024 08:57:12 +00:00 [kern_mgwd:info:1111] A [src/rdb/sql_local_unit.cc 796 (0x111111f00)]: sqlite_logger: SQLite Error: (11) statement aborts at 31: [SELECT rowid, [vserver], [common-name], [serial], [ca], [type], [subtype], [size], [public-cert], [country], [state], [locality], [organization], [unit], [email-addr], [protocol], [has
Tue Jan 1 2024 08:57:12 +00:00 [kern_mgwd:info:1111] E [src/rdb/sql_local_stmt.cc 300 (0x111111f00)]: step: failed to step in statement '<hidden>' for connection 0x11a0b1111: database disk image is malformed