z/OS Cryptographic Services System SSL Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Storing an encrypted key database password

z/OS Cryptographic Services System SSL Programming
SC14-7495-00

In order for applications to use the key database file, the application must specify both the file name and its associated password. The password can either be specified directly or through a stash file containing the encrypted password. The stash file provides a level of security where the password does not have to be explicitly specified. To save the encrypted key database password, enter option 10 from the Key Management Menu:

Note: In these task descriptions, it is assumed that you opened the key database and are displaying the Key Management Menu panel.
Figure 1. Key Management Menu
                                                                   
       Key Management Menu                                         
                                                                   
       Database: /home/sufw1/ssl_cmd/mykey.kdb                    
       Expiration Date: 2025/12/02  10:11:12                     
                                                                   
   1 - Manage keys and certificates                                
   2 - Manage certificates                                         
   3 - Manage certificate requests                                 
   4 - Create new certificate request                              
   5 - Receive requested certificate or a renewal certificate      
   6 - Create a self-signed certificate                            
   7 - Import a certificate                                        
   8 - Import a certificate and a private key                      
   9 - Show the default key                                        
  10 - Store database password                                     
  11 - Show database record length                                 
                                                                   
   0 - Exit program                                                
                                                                   
Enter option number (press ENTER to return to previous menu): 10 <enter>

Database password stored in /home/sufwl1/ssl_cmd/mykey.sth.

Press ENTER to continue.     
 ===>                                                              
                                                                   

Figure 1 shows the message you receive after entering option 10 to store the database password. In this example, the database password was stored in a file called mykey.sth.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014