mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

mkeyes
17.21.2007 5bc0951a62a973df5a325e7189a6b1ae9776a784
Fixed the functional test lib function that unconfigures an ssl connection.
Previously, the ldaps connection handler was diabled and the key-manager-provider-dn and the trust-manager-provider-dn values were rest all in one dsconfig operation.
Now the ldapsconnection handler is disabled in one dsconfig operation and the key-manager-provider-dn and the trust-manager-provider-dn values are reset in a separate dsconfig operation.
1 files modified
17 ■■■■■ changed files
opends/tests/functional-tests/shared/functions/security.xml 17 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/security.xml
@@ -998,7 +998,22 @@
          'subcommand'     : 'set-connection-handler-prop' ,
          'objectType'     : 'handler-name' ,
          'objectName'     : 'LDAPS Connection Handler',
          'optionsString'  : '--set enabled:false --reset key-manager-provider-dn --reset trust-manager-provider-dn --reset ssl-cert-nickname',
          'optionsString'  : '--set enabled:false',
          'expectedRC'     : 0
        }
      </call>
      <call function="'dsconfig'">
        { 'location'       : location,
          'dsPath'         : dsPath ,
          'dsInstanceHost' : dsInstanceHost,
          'dsInstancePort' : dsInstancePort ,
          'dsInstanceDn'   : dsInstanceDn ,
          'dsInstancePswd' : dsInstancePswd ,
          'subcommand'     : 'set-connection-handler-prop' ,
          'objectType'     : 'handler-name' ,
          'objectName'     : 'LDAPS Connection Handler',
          'optionsString'  : '--reset key-manager-provider-dn --reset trust-manager-provider-dn --reset ssl-cert-nickname',
          'expectedRC'     : 0 
        }
      </call>