Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4478

[GSS] (7.12.1) Cannot clone project by ssh when business central is integrated with LDAP

XMLWordPrintable

    • 0
    • False
    • None
    • False
    • Release Notes
    • CR1
    • ?
    • Hide

      1. Start the LDAP server:

          - Uncompress LDAP.zip
          - Start the LDAP server
          
              ~~~
              $ cd LDAP
              $ java -Djavax.net.debug=all -jar ldap-server/target/ldap-server.jar -sp 10636 -skf ldaps.keystore -skp 123456 -b localhost jbpm.ldif
              ~~~
              
      2. Install JBoss EAP 7.4.7 + RHPAM 7.13.0. As the installation is too big (1.8GB), I compressed the "standalone" folder into the RHPAM-7130-EAP-7.4.7-standalone.zip

          - Install JBoss EAP 7.4.7 
          - Install RHPAM 7.13.0
          - Uncompress RHPAM-7130-EAP-7.4.7-standalone.zip
          - Copy the "configuration" and "deployments" folders into your installation
          
      3. Start the RHPAM application

          ~~~
          $ cd <RHPAM_HOME>/bin
          $ standalone.sh -c standalone-full.xml.ELYTRON_LDAP -Ddatasource.management.wildfly.admin=admin -Ddatasource.management.wildfly.password=admin@123 -Ddatasource.management.wildfly.realm=ldap-security-realm
          ~~~
          
      4. Login in the Business Central

          - Go to http://localhost:8080/business-central
          - krisv / krisv3
          
      5. Import the "myproject.git" through the Business Central

          - Uncompress myproject.git.zip
          - Go to "Projects -> MySpace"
          - Click "Import project"
                  Repository url: "file://<myproject.git_folder>
          - Import that project
          
      6. Open a terminal a try to clone that project from the command line:

          ~~~
          $ GIT_SSH_COMMAND="ssh -v" git clone ssh://krisv@localhost:8001/MySpace/myproject
          ~~~

      Show
      1. Start the LDAP server:     - Uncompress LDAP.zip     - Start the LDAP server              ~~~         $ cd LDAP         $ java -Djavax.net.debug=all -jar ldap-server/target/ldap-server.jar -sp 10636 -skf ldaps.keystore -skp 123456 -b localhost jbpm.ldif         ~~~          2. Install JBoss EAP 7.4.7 + RHPAM 7.13.0. As the installation is too big (1.8GB), I compressed the "standalone" folder into the RHPAM-7130-EAP-7.4.7-standalone.zip     - Install JBoss EAP 7.4.7      - Install RHPAM 7.13.0     - Uncompress RHPAM-7130-EAP-7.4.7-standalone.zip     - Copy the "configuration" and "deployments" folders into your installation      3. Start the RHPAM application     ~~~     $ cd <RHPAM_HOME>/bin     $ standalone.sh -c standalone-full.xml.ELYTRON_LDAP -Ddatasource.management.wildfly.admin=admin -Ddatasource.management.wildfly.password=admin@123 -Ddatasource.management.wildfly.realm=ldap-security-realm     ~~~      4. Login in the Business Central     - Go to http://localhost:8080/business-central     - krisv / krisv3      5. Import the "myproject.git" through the Business Central     - Uncompress myproject.git.zip     - Go to "Projects -> MySpace"     - Click "Import project"             Repository url: "file://<myproject.git_folder>     - Import that project      6. Open a terminal a try to clone that project from the command line:     ~~~     $ GIT_SSH_COMMAND="ssh -v" git clone ssh://krisv@localhost:8001/MySpace/myproject     ~~~
    • ---
    • ---
    • 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6), 2023 Week 09-11 (from Feb 27), 2023 Week 12-14 (from Mar 20), 2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1), 2023 Week 21-23 (from May 22)

      After following this solution for setting up RHPAM with LDAP, we could authenticate in business central and everything seems fine. However when we try to clone a repository from the business central through SSH, it doesn't work.

      When we try the following command, it always ask for the password and it never gets the repository:

      $ git clone ssh://<ldap_user>@localhost:8001/MySpace/project1

      Cloning into 'project1'...

      Password authentication

      Password:

      Password authentication

      Password:

      We enabled logging TRACE for the "org.jboss.security", "io.undertow.request.security" and "com.sun.jndi.ldap" packages. There is nothing in the log file. 

       

        1. RHPAM-7130-EAP-7.4.7-standalone.zip
          258 kB
        2. myproject.git.zip
          82 kB
        3. LDAP.zip
          16.35 MB

              trikkola Toni Rikkola
              rhn-support-omolinab Oscar Molina
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: