Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
fix certificate directory not found
  • Loading branch information
michaelsantosti committed Feb 2, 2023
1 parent 33957ed commit 5ef62e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ sudo certbot certonly -n --standalone --agree-tos -d $domainctfd
# Copy config files
cp ./setupfiles/* .

#Create Certificates Directory
sudo mkdir -p .data/certbot/conf/live/$domainctfd/

#Copy Certificates
sudo cp /etc/letsencrypt/live/$domainctfd/fullchain.pem .data/certbot/conf/live/$domainctfd/fullchain.pem
sudo cp /etc/letsencrypt/live/$domainctfd/privkey.pem .data/certbot/conf/live/$domainctfd/privkey.pem
Expand Down

0 comments on commit 5ef62e0

Please sign in to comment.