Vajad kellegagi rääkida?
Küsi julgelt abi LasteAbi
Logi sisse
Sulge

"x509" - 2 õppematerjali

Kuidas paigaldada https
5
docx

Kuidas paigaldada https:

MYSQL Yast in MarinaDB Start mysql.service Mysqladmin ­u root password parool PHPMYADMIN Zypper in phpMyAdmin Kui on ära installinud siis mine oma iple ja /phpMyAdmin ja logi oma mysqli kasutajaga sisse ehks sisi root ja parool Kui kõik korras siis peaks tulema SSL Käsud mkdir /etc/ssl/CA cd /etc/ssl/CA openssl genrsa -des3 -out server.key 1024 openssl rsa -in server.key -out server.key openssl req -new -days 3650 -key server.key -out server.csr openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 3650 chmod 400 server.* Avad läbi yasti ssli Siis : vi /etc/apache2/listen.conf ja lisad faili lõppu NameVirtualHost *:443 cd /etc/apache2/vhosts.d cp vhost-ssl.template main-ssl.conf vi main-ssl.conf siis vaatad et asjad oleks nii DocumentRoot "/srv/www/htdocs" ServerName www1.server-world.info:443 ServerAdmin [email protected] ErrorLog /var/log/apache2/www1-error_log TransferLog /var/log/apache2/www1-access_log

Informaatika → Informaatika
6 allalaadimist
18
pdf

Sudo service apache2 restart Sudo mkdir /etc/apache2/ssl  openssl: This is the basic command line tool provided by OpenSSL to create and manage certificates, keys, signing requests, etc.  req: This specifies a subcommand for X.509 certificate signing request (CSR) management. X.509 is a public key infrastructure standard that SSL adheres to for its key and certificate managment. Since we are wanting to create a new X.509 certificate, this is what we want.  -x509: This option specifies that we want to make a self-signed certificate file instead of generating a certificate request.  -nodes: This option tells OpenSSL that we do not wish to secure our key file with a passphrase. Having a password protected key file would get in the way of Apache starting automatically as we would have to enter the password every time the service restarts.  -days 365: This specifies that the certificate we are creating will be valid for one year.

Varia → Kategoriseerimata
16 allalaadimist


Sellel veebilehel kasutatakse küpsiseid. Kasutamist jätkates nõustute küpsiste ja veebilehe üldtingimustega Nõustun