You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --insecure-tls flag does not work with jfrog rt mvn commands. This prevents us from running a mvn clean install deploy to an Artifactory instance with a self-signed certificate.
Here is the command I've been trying to get working (using version 1.3.0 of the CLI):
Is there a different way to use Maven to deploy artifacts to an Artifactory instance with self-signed certificates? We need to build and deploy artifacts to a given Artifactory repository, while collecting and publishing the build info for later use in promoting that build to other repositories.
Thanks for any help!
The text was updated successfully, but these errors were encountered:
I'm assuming you're using a private CA certificate. Are you sure your certificate meets all the requirements? Namely, that the Common Name or Subject Name (CN) field is the IP address of the server or the IP address of the artifactory.shared.node.ip key value in the system.yaml file? This is a requirement for a private CA certificate being used with Artifactory.
If you're using the IP address in the URL to connect to Artifactory, does the certificate also have the IP address being used in the URL in the Subject Alternative Name (SAN) field? It is required that the name being used in the URL, whether that's IP address or DNS entry, be present in the SAN field for browsers, utilities (e.g., curl, wget) and SDKs to validate the certificate, as they only check the SAN field to validate that the presented certificate matches the URL being used to contact the server.
Again, for Artifactory, it's required that the CN field be the IP address of the server (or artifactory.shared.node.ip in system.yaml) and that the "name" being used to connect to the server, whether IP address(es) or DNS name(s) or both, are all provided in the certificate's SAN field.
The
--insecure-tls
flag does not work withjfrog rt mvn
commands. This prevents us from running amvn clean install deploy
to an Artifactory instance with a self-signed certificate.Here is the command I've been trying to get working (using version 1.3.0 of the CLI):
jfrog rt mvn 'clean install deploy' /buildInfo --build-name=hello --build-number=1 --insecure-tls
Is there a different way to use Maven to deploy artifacts to an Artifactory instance with self-signed certificates? We need to build and deploy artifacts to a given Artifactory repository, while collecting and publishing the build info for later use in promoting that build to other repositories.
Thanks for any help!
The text was updated successfully, but these errors were encountered: