Skip to content

Commit

Permalink
copy mkcert rootCA to certs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
schrej committed Jan 9, 2021
1 parent 791f2c2 commit 8fa4f6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ git clone https://github.com/pterodactyl/sftp-server.git code/sftp-server
mkdir -p .data/certificates

mkcert -install
mkcert pterodactyl.test *.pterodactyl.test
mkcert pterodactyl.test '*.pterodactyl.test'

mv *pterodactyl.test*-key.pem .data/certificates/pterodactyl.test-key.pem
mv *pterodactyl.test*.pem .data/certificates/pterodactyl.test.pem
cp $(mkcert -CAROOT)/rootCA.pem .data/certificates/

# sudo gem install docker-sync
# docker-sync start

0 comments on commit 8fa4f6e

Please sign in to comment.