rapidssl
Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Předchozí verze | |||
— | rapidssl [2023/12/26 19:13] (aktuální) – upraveno mimo DokuWiki 127.0.0.1 | ||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
+ | ====== RapidSSL ====== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | Pořízení SSL certifikátu a nasazení na CentOS 6.X. | ||
+ | |||
+ | https:// | ||
+ | ===== Vytvoření privátního klíče ===== | ||
+ | |||
+ | Nastavit si netriviální heslo. | ||
+ | |||
+ | < | ||
+ | shell# openssl genrsa -des3 -out www.isn.cz.key 2048 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Generating RSA private key, 2048 bit long modulus | ||
+ | .............................................+++ | ||
+ | .............................................+++ | ||
+ | .............................................+++ | ||
+ | Enter pass phrase for www.isn.cz.key: | ||
+ | Verifying - Enter pass phrase for www.isn.cz.key: | ||
+ | </ | ||
+ | ===== Vytvoření CSR klíče ===== | ||
+ | |||
+ | < | ||
+ | shell# openssl req -new -key www.isn.cz.key -out www.isn.cz.csr | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Enter pass phrase for www.isn.cz.key: | ||
+ | You are about to be asked to enter information that will be incorporated | ||
+ | into your certificate request. | ||
+ | What you are about to enter is what is called a Distinguished Name or a DN. | ||
+ | There are quite a few fields but you can leave some blank | ||
+ | For some fields there will be a default value, | ||
+ | If you enter ' | ||
+ | ----- | ||
+ | Country Name (2 letter code) [XX]:CZ | ||
+ | State or Province Name (full name) []:Czech Republic | ||
+ | Locality Name (eg, city) [Default City]:Mlada Boleslav | ||
+ | Organization Name (eg, company) [Default Company Ltd]:ISN.CZ | ||
+ | Organizational Unit Name (eg, section) []: | ||
+ | Common Name (eg, your name or your server' | ||
+ | Email Address []: postmaster@isn.cz | ||
+ | |||
+ | Please enter the following ' | ||
+ | to be sent with your certificate request | ||
+ | A challenge password []: | ||
+ | An optional company name []: | ||
+ | </ | ||
+ | |||
+ | ===== Export privátního klíče bez hesla ===== | ||
+ | |||
+ | Pro automatické spuštění http serveru. | ||
+ | |||
+ | < | ||
+ | shell# openssl rsa -in www.isn.cz.key -out www.isn.cz-bh.key | ||
+ | </ | ||
+ | |||
+ | ===== HTTPD ===== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | ServerAdmin postmaster@isn.cz | ||
+ | DocumentRoot / | ||
+ | ServerName www.isn.cz | ||
+ | SSLEngine on | ||
+ | SSLCertificateFile / | ||
+ | SSLCertificateKeyFile / | ||
+ | SSLCACertificateFile / | ||
+ | ErrorLog / | ||
+ | CustomLog / | ||
+ | </ | ||
+ | </ |