wget https://dl.step.sm/gh-release/cli/docs-ca-install/v0.17.5/step-cli_0.17.5_amd64.deb
sudo dpkg -i step-cli_0.17.5_amd64.deb
wget https://dl.step.sm/gh-release/certificates/docs-ca-install/v0.17.4/step-ca_0.17.4_amd64.deb
sudo dpkg -i step-ca_0.17.4_amd64.deb
I hereby claim:
- I am snehal1112 on github.
- I am sdangroshiya (https://keybase.io/sdangroshiya) on keybase.
- I have a public key ASA56bwQpUUb-y7fL8s-s_JuWk-H8F_hRV6fldALAKE6bQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
Setup(){ | |
echo "***********************" | |
echo "* Install step cli *" | |
echo "***********************" | |
apt update -y && apt install -f wget | |
cd /data/ | |
wget https://github.com/smallstep/cli/releases/download/v0.15.2/step-cli_0.15.2_amd64.deb | |
dpkg -i step-cli_*_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update && apt upgread | |
sudo apt install apache2 | |
wget https://github.com/smallstep/cli/releases/download/v0.15.2/step-cli_0.15.2_amd64.deb | |
dpkg -i step-cli_*_amd64.deb | |
mkdir -p /srv/tls && cd /srv/tls | |
step certificate create root-ca root-ca.crt root-ca.key --profile root-ca | |
step certificate install root-ca.crt |