Issue with "dsccreg add-server" for DPS When Cert Alias Contains Space (Doc ID 1917352.1)

Last updated on AUGUST 18, 2014

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.7.1 to 11.1.1.7.1 [Release 11gR1]
Information in this document applies to any platform.

Goal

 When the DPS instance's certificate alias name has alias inside, the "dsccreg add-server" will not be successful.

Eg,

Assuming the DPS instance's cert alias is "test cert".

# dsccreg add-server /opt/odsee/11.1.1.7.1/instances/dps-5389/
  Enter DSCC administrator's password:
  /opt/odsee/11.1.1.7.1/instances/dps-5389/ is an instance of DPS
  /opt/odsee/11.1.1.7.1/dsee7/bin/dpadm exited with 170 for
  /opt/odsee/11.1.1.7.1/instances/dps-5389/
  /opt/odsee/11.1.1.7.1/instances/dps-5389/ is may be corrupted.
  Warning: unable to retrieve the certificate
  keytool error: java.lang.Exception: Alias <test> does not exist
  Agent No  Hostname                   Port  Owner  iPath
  --------  -------------------------  ----  -----  
  -----------------------------------------
  ...
  /opt/odsee/11.1.1.7.1/dsee7/var/dcc/agent
  The registration will use DSCC agent on port: 3997
  Enter password of "cn=Proxy Manager" for
  /opt/odsee/11.1.1.7.1/instances/dps-5389/:
  Connecting to /opt/odsee/11.1.1.7.1/instances/dps-5389 (using
  ldap://127.0.0.1:5389)
  Enabling DSCC access to /opt/odsee/11.1.1.7.1/instances/dps-5389
  Registering /opt/odsee/11.1.1.7.1/instances/dps-5389 in DSCC on localhost.

After the registration, the DSCC console will show the DPS instance with "Degraded" status.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms