Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.81 KB

README-edge.md

File metadata and controls

59 lines (42 loc) · 1.81 KB

Sigstore-the-local-and-easy-with-ansible-way

Following this will launch a Sigstore stack running in a RHEL 9 Virtual Machine. This uses an Ansible setup to lauch pods with podman kube-play. Documentation about the components that comprise a keyless Sigstore system is available in the ansible-setup repository.

Create the RHEL VM

Follow the RHEL 9 Virtual Machine setup document to spin up a VM with Libvirt.

Clone the Sigstore Ansible repository

git clone git@github.com:sabre1041/sigstore-ansible.git
cd sigstore-ansible

Edit the inventory file

Save the following content to inventory file

[sigstore]
<VM_IP_ADDRESS>

[sigstore:vars]
ansible_password=<ROOT_PASSWORD_VM>
ansible_user=redhat
remote_user=root
become=true
become_user=root

Edit your local /etc/hosts file

Add the below content.

<VM IP ADDRESS> keycloak.sigstore-dev.ez
<VM_IP_ADDRESS> fulcio.sigstore-dev.ez fulcio
<VM_IP_ADDRESS> rekor.sigstore-dev.ez rekor
<VM_IP_ADDRESS> tuf.sigstore-dev.ez tuf

Run the Playbook

You should now head over to the ansible-setup. Follow the README to download the prerequisites and run the playbook. Also, the ansible-setup describes how to add the self-signed certificates to your local trust-store.

As an example, this is the command used for the VM created above.

# Run the playbook from your local system
 ansible-playbook -vv -i inventory playbooks/install.yml -e base_hostname=sigstore-dev.ez -K

Finally, cosign can be used locally to sign and verify artifacts.