Resetting Artifactory Admin Password

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:

<code>chmod&nbsp;600 bootstrap.creds

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: