Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Putting Artifactory behind SSL

Tags:

artifactory

I manually installed Artifactory(V 2.6) on my centos and am using it with its own standalone jetty container. I use artifactoryctl start to start it and now I can access it using http://myhostname:8081/artifactory. What is the best and easy way to put this behind https now?

Note: It will be nice if I can have both http and https access.

Any help is appreciated.

Thanks

like image 458
user1164061 Avatar asked Jul 21 '14 23:07

user1164061


People also ask

How do I add SSL certificate to Artifactory?

To add a new certificate, click New. Provide the Certificate Alias and copy the certificate contents into the designated area. Alternatively, you can drag and drop the corresponding PEM file into the designated area. Make sure the PEM file you upload is not password-protected.

What is an Artifactory certificate?

Overview. JFrog Artifactory DevOps certification is designed to empower DevOps engineers with verification of their competency in the management of binary repositories, security, and CI/CD pipelines using Artifactory.

How do I know if Artifactory is running?

If Artifactory is running, you should see its pid , if not, you will see a list of environment variables used by the service. Access Artifactory from your browser at: http://SERVER_ HOSTNAME:8082/ui/ . For example, on your local machine: http://localhost:8082/ui/ . Check Artifactory Log.


1 Answers

  1. Please upgrade to the latest Artifactory version.
  2. Starting Artifactory 3, it comes with embedded Tomcat, please refer to the official Tomcat documentation on how to configure SSL on Tomcat.
  3. Another option might be configuring Artifactory behind Apache or Ngnix HTTP servers. In this case, Artifactory user guide provides documentation on how to configure ssl for the former and for the later.
like image 87
JBaruch Avatar answered Oct 21 '22 04:10

JBaruch