CSC
CRIPTOGRAFIE ȘI SECURITATE CIBERNETICĂ
Laborator
6. Securitatea comunicațiilor web
Securitatea comunicațiilor web
HTTPS - HTTP Secure
HTTP over SSL - Secure Sockets Layer
HTTP over TLS - Transport Layer Security
- Servicii vizate
- HTTP
- configurare de bază (serviciu web)
- configurare securitate
(SSL/TLS)
- Router Linux
- Conectare către un Router Linux
(folosind aplicația putty)
- Conectare către un Router Linux
- Obținere drepturi de administrare
- comanda: su -
- pass: router labRC
- Configurare servicii
IP: 172.20.1.32
user: userRCC
pass: router RCC
-
HTTPD
apache- mcedit /etc/httpd/conf/httpd.conf
Activare SSL (conf.d/ssl.conf)
- SSLEngine on
SSLCertificateKeyFile ...
SSLCertificateFile ...
control serviciu
service httpd status|start|stop|restart
manual de utilizare server apache
http://adresaserverweb/manual/
sectiunea SSL
Self-signed SSL Certificate
Generare self-signed SSL Certificate (How-TO)
Generare cheie privata
openssl genrsa -des3 -out server.key 1024
cat server.key
Generearecerere certificat
openssl req -new -key server.key -out server.csr
cat server.csr
Eliminare parola solicitata la restart serviciu
cp server.key server.key.org
openssl rsa -in server.key.org -out server.keycat server.key
Generare certificat (local)
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
cat server.crt
Real SSL Certificate
Solicitari certificate de securitate către Autorități de certificare
SOLUȚII Free
Let's Encrypt (letsencrypt.org)
SSL For Free - Free SSL Certificates in Minutes
Free SSL Certificates and SSL Tools - ZeroSSL
!!! FQDN: rcc.usv.ro
Captura pachete HTTP HTTPS
- tcpdump pe sever
- Wireshark pe statia client
Urmarire fisiere de evenimente (log-uri server web)
- tail -f /var/log/httpd/access_log
- tail -f /var/log/httpd/error_log
Configurare Apache httpd (Fedora Linux 35)
Apache httpd : Virtual Hostings
Apache httpd : SSL/TLS Setting
Apache httpd : Use CGI Scripts
Apache httpd : Use PHP Scripts
Apache httpd : Basic Authentication
Apache httpd : Configure WebDAV
Mirror
putty-0.62 for x86putty-0.62-installer
Referinte
Server World - Build Network Server (server-world.info)
... Realizati configurarea unei versiuni de server WEB Microsoft (IIS)