Use the prepare-external-server tool if you have added LDAP external servers using dsconfig. The create-initial-proxy-config tool automatically runs the prepare-external-server tool to configure server communications so that you do not need to invoke it separately. The create-initial-proxy-config tool verifies that the proxy user account exists and has the correct password and required privileges. If it detects any problems, it prompts for manager credentials to rectify them.
If you want the prepare-external-server tool to add the LDAP external server’s certificates to the Directory Proxy Server’s trust store, you must include the --proxyTrustStorePath option, and either the --proxyTrustStorePassword or the --proxyTrustStorePasswordFile option. The default location of the Directory Proxy Server trust store is config/truststore. The pin is encoded in the config/truststore.pin file.
prepare-external-server --hostname ds-east-01.example.com \ --port 1389 --baseDN dc=example,dc=com --proxyBindPassword secret