"Root", 1 => "Client", 2 => "Admin", 3 => "Bundle", 4 => "Client", 5 => "Client Private Key", 6 => "Admin", 7 => "Admin Private Key", 8 => "Root", 9 => "Client"); function print_cert_info($info, $type) { $status = "Valid"; if( !$info->IsValid ) $status = "Expired"; else if( $info->ExpireSoon ) $status = "Expires
Soon
"; // Highlight the tags in the Issuer and Subject $old = array("C:", "S:", "L:", "O:", "OU:", "CN:"); $new = array("C:", "S:", "L:", "O:", "OU:", "CN:"); $Issuer = str_replace($old, $new, $info->Issuer); $Subject = str_replace($old, $new, $info->Subject); ?> Library SN?> NotValidBefore?>
NotValidAfter?>
Issuer: 
Subject: 
primaryIP == "") || ($ekm[$i]->primaryIP == "0.0.0.0") || ($ekm[$i]->primaryIP == "0")) { $ekm[$i]->primaryIP = "0.0.0.0"; $ekm[$i]->primaryPort = "3801"; } if (($ekm[$i]->secondaryIP == "") || ($ekm[$i]->secondaryIP == "0.0.0.0") || ($ekm[$i]->secondaryIP == "0")) { $ekm[$i]->secondaryIP = "0.0.0.0"; $ekm[$i]->secondaryPort = "3801"; } error_log("\n\ndid the values change ekm values: \n".print_r($ekm[$i], true)); $sortCriteria->sortColumn = DRIVE_SORT_DEFAULT; $assignedDrives = get_all_drives_by_library($user, $libguid, $sortCriteria,(int)0,(int)MEDIA_TYPE_ANY); //error_log("\n\nAssigned Drives".print_r($assignedDrives,true)); $numDrives=count($assignedDrives); for ($driveIndex = 0; $driveIndex < $numDrives; $driveIndex++) { if ($assignedDrives[$driveIndex]->driveType == 'LTO-4') { $kmipCapable[$i]=0; } else { $kmipCapable[$i]=1; } } $i++; } if (preg_match("/:/", $ekm->primaryIP)) { $assignment = 'static6'; $text_attributes = 'size="45" maxlength="39"'; } else { $assignment = 'static4'; $text_attributes = 'size="45" maxlength="39"'; } if (is_ibm_encryption_licensed($user)) { $encryptionKeyInstalled = 1; } else { $encryptionKeyInstalled = 0; } // check TLS cert status and info $bKmipTLS = (has_certs_installed($user, 8, 9) == 1); $kmipInfoArray = get_cert_info($user, 8, 9); error_log("kmip certs = ". print_r($kmipInfoArray,true)); $global_ekm_type=get_ekm_type($user); error_log("global ekm type: ".$global_ekm_type); ?> Encryption Settings
Modify Encryption Method
method == 4) { $ekmEnabled = 1; } else { $ekmEnabled = 0; } //error_log(print_r($encryptData[$libIndex], true)); error_log("ekm data: ".print_r($ekm[$libIndex],true)); // Display TLS certificate section if at least one logical library has KMIP set if ($ekm[$libIndex]->serverType == 4) { $kmipEnabled=1; } ?>
encryptMethod != 4)*/{echo "class='div-hide'";}?>>
method == 4){echo "class='div-hide'";}?>>

>

Logical Library Encryption Settings
Encryption method:
Encryption server type:
Encryption policy:
Advanced Encryption Settings (for Engineering Support use only)
Advanced encryption method:
Advanced encryption policy:
Encryption density:
Encryption key path:
Encryption Key Management Server Settings
Primary address :
method != 4){echo "disabled";}?>>
serverType == 1){echo "class='div-hide'";}?>>Primary KMIP port number:
useSSL == 1) || ($ekm[$libIndex]->serverType == 4)) echo "class='div-hide'";?>>Primary TCP port number:
useSSL == 0) || ($ekm[$libIndex]->serverType == 4)) echo "class='div-hide'";?>>Primary SSL port number:
primaryPort); ?> method != 4){echo "disabled";}?>>
serverType == 1){echo "class='div-hide'";}?>>Secondary address:
serverType == 4){echo "class='div-hide'";}?>>Secondary address:
method != 4){echo "disabled";}?>>
serverType == 1){echo "class='div-hide'";}?>>Secondary KMIP port number:
useSSL == 1) || ($ekm[$libIndex]->serverType == 4)) echo "class='div-hide'";?>>Secondary TCP port number:
useSSL == 0) || ($ekm[$libIndex]->serverType == 4)) echo "class='div-hide'";?>>Secondary SSL port number:
method != 4){echo "disabled";}?>>
useSSL == 1) echo 'checked';?> method != 4){echo "disabled";}?>>


>
Installed KMIP Communication Certificates

(KMIP TLS communication certificates are not currently installed on the library.) Type]; print_cert_info($info, $Type); } ?>
Type  Location  Serial Number Valid Between Dates Status Issuer and Subject