Getting started¶
In this tutorial, you will learn how to install Notary on a Linux machine and access the Notary UI.
Prerequisites:¶
A Linux machine that supports snaps
1. Install Notary¶
Install the snap:
sudo snap install notary --channel=latest/edge
Generate a certificate and private key to the following location:
sudo openssl req -newkey rsa:2048 -nodes -keyout /var/snap/notary/common/key.pem -x509 -days 1 -out /var/snap/notary/common/cert.pem -subj "/CN=example.com"
Start the service:
sudo snap start notary.notaryd
Navigate to https://localhost:3000
to access the Notary UI.
Note
Your browser may display a warning about the connection’s security. This warning is displayed because we used a self-signed certificate to start Notary. You can safely ignore this warning.
You should be prompted to initialize Notary.

2. Initialize Notary¶
Create the initial user:
Username:
admin
Password:
NotaryAdmin123!
Click on “Submit”.
You should now be redirected to Notary’s Certificate Request page.

Congratulations! You have successfully installed Notary and created the initial user. You can now start managing certificates with Notary.
3. Remove Notary (optional)¶
To remove Notary from your machine, run:
sudo snap remove notary