Select Administration and then Listeners from the Oracle Virtual Directory

11-24 Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory 1. Launch the WLST command line tool shell. 2. Go to the custom tree using the following command: custom 3. Navigate to the root Oracle Virtual Directory mBean using the following commands: cdoracle.as.management.mbeans.register cdoracle.as.management.mbeans.register:type=component,name=COMPONENT_ NAME ,instance=INSTANCE_NAME 4. Initialize the Oracle Virtual Directory configuration from the remote Oracle Virtual Directory server into the WebLogic server using the following command: invokeload,jarray.array[],java.lang.Object,jarray.array[], java.lang.String 5. Identify the Listeners for this Oracle Virtual Directory component by executing the following command: listListenersinstName, compName For example: listListenersinstance1,ovd1 The command lists all the Listeners for the component named ovd1. In the list of Listeners returned, identify the Listener you want to secure using SSL. For example, imagine you want to secure the Listener named LDAP SSL Endpoint. 6. Display the existing SSL configuration for the Listener you want secure LDAP SSL Endpoint in this example using the following command: getSSLinstance1,ovd1,ovd,LDAP SSL Endpoint 7. Display the existing keystores using the following command: listKeyStoresinstance1,ovd1,ovd 8. If necessary, create a new keystore and a self-signed certificate using the following commands. To create the new keystore, execute the following command: createKeyStoreinstance1,ovd1,ovd,NEW_KEYSTORE_NAME,PASSWORD_FOR_NEW_ KEYSTORE To create a self-signed certificate in the new keystore, execute the following command: generateKey instance1,ovd1,ovd,NEW_KEYSTORE_NAME,PASSWORD_FOR_NEW_ KEYSTORE , DN, keySize, alias 9. Identify the name of the SSL MBean for the Oracle Virtual Directory Listener by executing the following command: getSSLMBeanNameinstance1,ovd1,ovd,LDAP SSL Endpoint 10. Set the passwords for the keystore and truststore in the MBean by executing the following commands: cd SSL_MBEAN_NAME