Step 1: Install conan version 2.x
$ Conan version 2.0.4
Step 2: Configure conan client to point to virtual repository ~/.conan2/remotes.json.
You can get this snippet from Artifactory UI > Tree view > conan repository > Set Me Up button on the right side of the screen.
{ "remotes": [ { "name": "con-conan", "url": "http://<art-url>/artifactory/api/conan/<repo-name>", "verify_ssl": true } ] }
Working example for the above snippet.
{ "remotes": [ { "name": "conan-virtual", "url": "http://localhost:8082/artifactory/api/conan/conan-virtual", "verify_ssl": true } ] }