v06 NBU83ADM - Lab 06 NetBackup Certificate Administration Linux
v06 NBU83ADM - Lab 06 NetBackup Certificate Administration Linux
In this lab, you deploy CA and host-id based certificates on the clients. You also learn about ECA and its
configuration.
In this lab exercise, you will view details of NetBackup host ID-based certificate. Details for each host ID-based
certificate can be viewed in the NetBackup Administration Console or in NetBackup Web UI or by using the
nbcertcmd command.
Using the NetBackup Administration console to view host ID-based certificate details
10. From the desktop, locate and double click the shortcut command prompt .
11. Enter the following command to list the certificate details.
15. Locate and double-click NetBackup Web UI login shortcut on the desktop of the console vm.
16. Use the following credentials to login and click sign in:
Password: P@ssw0rd
4. Run the following command to add the CA certificate to the NetBackup host's trust store:
In this exercise, you will deploy the host-ID certificate manually on a NetBackup host. You will learn about reissue
token and its use.
• The certificate was revoked, and you later determine that you can trust that host again.
• The certificate was expired.
• NetBackup was reinstalled on the host where a certificate was already issued.
• The name of the host was changed. .-The key pair for the host was changed.
A reissue token is a type of token that can be used to reissue a certificate. Since a reissue token is bound to a
specific host, the token cannot be used to request certificates for additional host.
In the steps that follow , you will use NetBackup WebUI to reissue a token for the host lnxmedia.
URL: https://lnxmaster/webui/login
9. If you receive security warning, click Advanced and then click Accept the Risk and Continue.
10. Use the following credentials for login:
Password: P@ssw0rd
18. When prompted for the Authorization Token, paste the value from your clipboard.
20. Use the following command to list the host-ID certificate details:
NetBackup administrators may consider revoking a host ID-based certificate under various conditions. For
example, if the administrator detects that client security has been compromised, if a client is decommissioned, or
if NetBackup is uninstalled from the host. In this exercise, you will revoke the certificate from a client, observe the
effects and reissue the certificate.
2. Access the command prompt and refresh NetBackup CRL before you proceed using the
following command:
nbcertcmd -getcrl
3. Locate and double-click NetBackup Web UI login shortcut on the desktop of the console vm.
4. Use the following credentials and click sign in:
Password: P@ssw0rd
-Password: P@ssw0rd
13. Open the command prompt window and run following command:
In such case, backup of the client will not be possible. All the scheduled backups for this client will
fail.
16. Access the command prompt window on the Console system and use following command to
fetch the certificate from master.
17. Does it allow to fetch the certificate? No. In this case, a reissue token is mandatory.
In previous exercise, we have learnt to generate the reissue token and have used it. In the steps that
follow, you will learn about Allow auto reissue certifiate option.
Exercise E: Configuring External Certificate Authority (ECA) on the NetBackup Master Server
In this exercise, you will learn to setup ECA on the NetBackup Master server.
These steps are a set of basic commands for a simplified procedure. It is possible that real environment may
require more settings than specified below. For information on configuring ECA's (for example, supported file
types, CRL updates, etc), please see Veritas NetBackup™ Security and Encryption Guide: UNIX, Windows, and
Linux.
For the purpose of this lab, we have done following pre-configuration tasks on the lnxmaster and lnxmedia
systems:
• Downloaded and extracted the certificates and crls
• Created and modified the registry keys related to ECA configuration
Command: cd /eca/
Command: ls -la
This directory contains various subfolders along with certificate chain,private key,trust store,crl etc.
5. To view the changes made to the bp.conf file, use following command :
Configuring ECA
Command: cd /usr/openv/wmc/bin/install
9. Configure the ECA to be used by the NetBackup by using the below command:
It will take couple of minutes to start NetBackup Web Management Console services.
If you see a message Unable to connect to server, you are required to sign-out and sign-in.
15. Note that the master server is now configured in Mixed Mode.
16. Minimize the NetBackup WebUI and return to the Putty window connected
to lnxmaster server.
17. Similary you can use following command to check the status of ECA.
18. Next, you need to Enroll the Master server ECA certificate using the following command:
In this exercise you will examine how media server is configured to use the External Certificates.
For the purpose of this lab, we have done following pre-configuration tasks on the lnxmedia systems:
• Downloaded and extracted the certificates and crls
• Created and modified the registry keys related to ECA configuration
Command: cd /eca/
Command: ls -la
This directory contains various subfolders along with certificate chain,private key,trust store,crl etc.
5. To view the changes made to the bp.conf file, use following command :
It is not required to run the script or the enroll command on any NetBackup host(s).
12. Minimize the Command Prompt and return to the NetBackup Web UI
13. Navigate to Security>Certificates
14. Click External certificates.
15. Select the host lnxmedia.vrtsedu.lab. (You may need to scroll-down.)
16. Click View details.
17. Take a note of the information displayed.
18. Minimize the WebUI.
Command: cd /usr/openv/wmc/bin/install
You have to restart the NetBackup Web Management Console service for the changes to take effect.
6. Restart the NetBackup Web Management Console service using following commands:
7. Use the following command to verify that ECA is now OFF in the NetBackup domain:
You should see a new NetBackup certificate deployed with the <=365 days validity.
14. Sign out from the WebUI and close the Firefox window.
In the production environment, before disabling the ECA , great care has to be taken. You need to
ensure that each host in the domain is configured to use NetBackup host ID-based certificates. You
are also required to delete the registry keys related to ECA from the master and clients. Refer to the
Security and Encryption guide for more information on this.
End of Lab