1 Reply Latest reply on Jun 2, 2012 8:07 AM by r1em

    CLI https connector setup (child value)

    r1em Newbie

      With JBoss 7.0.2 we used the following CLI command to setup the https connector:

       

      /profile=default/subsystem=web/connector=https:add(socket-binding=https,scheme=https,protocol="HTTP/1.1",enabled=true,ssl={"password"=>"password","certificate-key-file"=>"keystore"})

       

      With JBoss 7.1.1 this doesn not work anymore:

       

      'ssl' is not found among the supported properties: [proxy-port, secure, virtual-server, socket-binding, scheme, name, max-post-size, proxy-name, enabled, protocol, enable-lookups, executor, redirect-port, max-connections, max-save-post-size]

       

      I tried this: (The first command is sucessful, but the second fails)

       

      /profile=default/subsystem=web/connector=https:add(socket-binding=https, scheme=https,protocol="HTTP/1.1",enabled=true)

       

      /profile=default/subsystem=web/connector=https/ssl={"password"=>"password","certificate-key-file"=>" keystore"}

       

      How is it possible to set the SSL  attributes (now a child)?

        • 1. Re: CLI https connector setup (child value)
          r1em Newbie

          I found it out myself. The correct commands are:

           

          /profile=default/subsystem=web/connector=https:add(socket-binding=https,scheme=https,protocol="HTTP/1.1",enabled=true)

           

          /profile=default/subsystem=web/connector=https/ssl=configuration:add(password="password",certificate-key-file="keystore")