Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable HTTPS for Jfrog Artifactory without reverse proxy

I am trying to configure Artifactory to use HTTPS without the need for a reverse proxy. My Artifactory instance is set on a docker container.

$JFROG_HOME/artifactory/var/etc/system.yaml:

artifactory:
    tomcat:
        httpsConnector:
            enabled: true
            port: 8443
            certificateFile: "/opt/jfrog/artifactory/var/etc/security/ssl/arti-test.crt"
            certificateKeyFile: "/opt/jfrog/artifactory/var/etc/security/ssl/arti-test.key"

docker-compose.yaml:

services:
  artifactory:
    image: releases-docker.jfrog.io/jfrog/artifactory-pro:latest
    container_name: artifactory
    ports:
      - 443:8443

When trying to reach the web site I get: This site can’t be reached

What is the procedure to achieve HTTPS artifactory on container without reverse proxy?

like image 333
chen Avatar asked Mar 26 '26 22:03

chen


1 Answers

According to the information above this if for Artifactory version 7.x, in this case, note that the UI and Artifactory are two separate services. If you'd like to reach the platform's UI via HTTPS without a reverse proxy it will be required to enable TLS in the Access YAML Configuration. You may refer to this documentation page for reference and instructions

like image 192
Kfir.A Avatar answered Mar 29 '26 13:03

Kfir.A



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!