scp -p 22 user@server:/remotefile locafile
scp locafile user@server:/remotefile
lcp => local cp
lrm => local rm
lpwd
asimetricna kriptografija
gpg --list-keys
gpg -e file.gpg
gpg --output file.gpg --export-secret-keys coja
gpg --import file.gpg
gpg --import ${keypath}
gpg -e -r user -r user@d,z.rs --output file.gpg
ssl sertifikat = javni kljuc
chain /etc/ssl/certs
webof trust
confirmation -number, dns record, cname record
/etc/nxginx/sites-available/
/etc/nxginx/sites-enabled/
location /.well-known/acme-challenge/ {
root /var/www/{path}
}
ssl_certificate /etc/letsencypt/live/site/fullchain.pemi
mkdir /var/www/{path}
certbot certonly -d box.dmz/.rs,box.decentrala.org
certbot renew
crontab
renew
nginx reload
should do once in 3 monts, done once a week
/etc/letsencypt/live/box.dmz.rs