Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26786

Unable to configure SSL/TLS Certificate for existing remote repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Remote Repository
    • Labels:
      None
    • Severity:
      Medium
    • Location:
      External

      Description

      Problem

      After upgrading to Artifactory 7.31.10 we are unable to configure the SSL/TLS Certificate settings in an existing remote repository. The value No data is all that displays when selecting the certificate from the drop-down menu. Previously the list of available certificates were available. We have also tried removing and adding the certificates back into Artifactory with no success.

      This is the only error we see in the logs when attempting to edit the certificates in a repository:

      2022-02-09T22:28:12.037Z [jfrt ] [WARN ] [60832ccf74e4655f] [.r.c.s.ResearchServiceImpl:265] [ttp-nio-8081-exec-29] - We were unable to check repoType, maybe it does not exist
      

      Workaround

      We are able to work around the UI bug by using the CLI. The following commands allow the certificate to be configured for an existing repository

      1. Configure template.json as follows
        {
          "clientTlsCertificate": "my-rhn-cert",
          "key": "rhn-remote",
          "packageType": "rpm",
          "rclass": "remote",
          "url": "https://cdn.redhat.com/content/dist/"
        }
        
      2. Update repository
        jfrog rt repo-update template.json
        

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              john.gallucci John Gallucci
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-26796 -
                  SYNCHRONIZED
                  • Last Sync Date: