If you’ve lost access to the administrator account in your on-premised Artifactory, this guide will help walk you through setting it back up. You’ll need to have SSH access to the server in order to complete this guide.
To get started, SSH into the server and open**
<em>$<code>ARTIFACTORY_HOME/etc/security/access/bootstrap.creds**. Enter the following information:
Now assign read/write permissions:
And finally, restart the server.
Once that’s done, you’ll need to generate the Basic authorization header:
Then make the following POST call while still SSHed into the server:
If you receive a response like the following, you’re all set: