ARTIFACTORY: How to Configure Multiple SSL Certificates for Different Hostnames with the Artifactory Helm Charts

Products
Frog_Artifactory
Content Type
Installation_Setup
AuthorFullName__c
Sanjay C
articleNumber
000007132
FirstPublishedDate
2026-08-26T07:29:57Z
lastModifiedDate
2026-08-26

ARTIFACTORY: How to Configure Multiple SSL Certificates for Different Hostnames with the Artifactory Helm Charts

Overview
This article explains how to configure an Artifactory Helm deployment to serve multiple hostnames using separate SSL/TLS certificates. This is commonly required when an organization's certificate authority no longer issues a single certificate containing multiple wildcard domains.


Problem
Previously, Artifactory was exposed through multiple hostnames using a single wildcard SSL certificate.
For example:
  • host1.artifactory.com
  • host2.artifactory.com
Following changes to the organization's PKI policy, a single wildcard certificate can no longer be issued to cover both hostnames. Instead, each hostname must use its own SSL/TLS certificate.
Customers deploying Artifactory using the Helm chart may therefore need to configure multiple TLS certificates while continuing to expose Artifactory through multiple hostnames.


Cause
The bundled NGINX included with the Artifactory Helm chart does not support configuring multiple TLS certificates. The nginx.tlsSecretName parameter accepts only a single Kubernetes TLS Secret:
nginx:
  tlsSecretName: my-tls-secret
As a result, the bundled NGINX can terminate TLS using only one SSL certificate and cannot present different certificates for different hostnames.


Solution
To configure multiple SSL/TLS certificates for different hostnames, disable the bundled NGINX included with the Artifactory Helm chart and use an external Kubernetes Ingress controller, such as the NGINX Ingress Controller.
Unlike the bundled NGINX, an external Ingress controller supports multiple TLS secrets within a single Ingress resource. This allows different SSL certificates to be associated with different hostnames using Server Name Indication (SNI).


Disable the bundled NGINX:
nginx:
  enabled: false


Configure the Ingress resource:
Enable the Ingress resource and specify the required hostnames:
ingress:
  enabled: true
  hosts:
    - host1.artifactory.com
    - host2.artifactory.com
  className: nginx
Configure multiple TLS secrets by mapping each hostname to its corresponding Kubernetes TLS Secret:
ingress:
  tls:
    - secretName: host1-tls-secret
      hosts:
        - host1.artifactory.com

    - secretName: host2-tls-secret
      hosts:
        - host2.artifactory.com
When a client connects, the external NGINX Ingress Controller uses SNI to select the appropriate TLS certificate based on the requested hostname.


Verification
After deploying the updated configuration:
  1. Verify that the Ingress resource contains multiple TLS entries.
  2. Confirm that all Kubernetes TLS Secrets exist in the same namespace as the Artifactory deployment.
  3. Access each hostname and verify that the correct SSL certificate is presented.
  4. Optionally, verify the certificate using the openssl command:
    openssl s_client -connect host1.artifactory.com:443 -servername host1.artifactory.com
    openssl s_client -connect host2.artifactory.com:443 -servername host2.artifactory.com


Result
Each hostname is served with its own SSL/TLS certificate while using a single Kubernetes Ingress resource. TLS termination is performed by the external NGINX Ingress Controller, which supports multiple TLS secrets through SNI.
For more information on deploying Artifactory with the NGINX Ingress Controller, please refer to the following documentation:
https://jfrog.com/help/r/artifactory-installing-jfrog-platform-with-nginx-ingress-controller