title: Unable to create secure site not running on port 443
body: <p>So I am using the Gitlab registry helm chart, for legacy support I have to expose the registry at example.com:4567.</p>
  
  <p>I am able to expose the port but unable to create a secure connection. E.g. chrome states "This site can't provide a secure connection"</p>
  
  <p>Any advice would be appreciated.</p>
  
  <p>wget logs:</p>
  
  <pre><code>wget https://example.com:4567/
  --2020-02-20 08:39:23--  https://example.com:4567/
  Resolving example.com (example.com)... .............
  Connecting to example.com (example.com)|...........|:4567... connected.
  Unable to establish SSL connection.
  </code></pre>
  
  <p>nginx-ingress helm chart relevant config:</p>
  
  <pre><code>tcp:
    4567: "gitlab/gitlab-registry:5000"
  
  </code></pre>
  
  <pre><code>apiVersion: v1
  kind: Service
  metadata:
    annotations:
      flux.weave.works/antecedent: gitlab:helmrelease/gitlab
    creationTimestamp: "2020-02-18T08:44:54Z"
    labels:
      app: registry
      chart: registry-0.3.0
      heritage: Tiller
      release: gitlab
    name: gitlab-registry
    namespace: gitlab
    resourceVersion: "882239"
    selfLink: /api/v1/namespaces/gitlab/services/gitlab-registry
    uid: 43d97af6-656f-44ae-a064-cae1bfb37524
  spec:
    clusterIP: 10.101.88.115
    ports:
    - name: registry
      port: 5000
      protocol: TCP
      targetPort: 5000
    selector:
      app: registry
      release: gitlab
    sessionAffinity: None
    type: ClusterIP
  status:
    loadBalancer: {}
  </code></pre>
  
  <p>Gitlab helm chart:</p>
  
  <pre><code>global:
    appconfig:
      registry:
        ingress:
          tls:
            enabled: true
            secretName: gitlab-sdp-tls
  </code></pre>
  
  <p>The secret above works perfectly for example.com</p>
  
  <pre><code>curl -vvv https://example.com:4567
  
  * Rebuilt URL to: example.com:4567/ 
  * Trying xxxxxxxxxx... 
  * Connected to example.com (xxxxxxxxxxxxx) port 4567 (#0) 
  &gt; GET / HTTP/1.1 
  &gt; Host: example.com:4567 
  &gt; User-Agent: curl/7.47.0 
  &gt; Accept: */* 
  &gt; 
  * Empty reply from server 
  * Connection #0 to host example.com left intact curl: (52) Empty reply from server
  </code></pre>