networks:apache:ssl
Розбіжності
Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
Порівняння попередніх версійПопередня ревізіяНаступна ревізія | Попередня ревізія | ||
networks:apache:ssl [2014/01/07 19:53] – olexande bilovol | networks:apache:ssl [2018/05/07 08:48] (поточний) – olexande bilovol | ||
---|---|---|---|
Рядок 23: | Рядок 23: | ||
/ | / | ||
- | </file> | + | < |
# ls -la / | # ls -la / | ||
-rwx------ | -rwx------ | ||
Рядок 34: | Рядок 34: | ||
В результате правильной настройки должны получить подтверждающее сообщение в лог-файле. | В результате правильной настройки должны получить подтверждающее сообщение в лог-файле. | ||
# tail / | # tail / | ||
- | < | + | < |
+ | PHP/5.5.3 mod_perl/ | ||
+ | |||
+ | < | ||
+ | Generating Self-Signed SSL Certificates. | ||
+ | |||
+ | %openssl genrsa -rand random.dat -out server.key 1024 | ||
+ | %openssl req -new -key server.key -out server.csr | ||
+ | %cp server.key server.key.org | ||
+ | %openssl rsa -in server.key.org -out server.key | ||
+ | %openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt | ||
+ | Then move these files to your Apache server' | ||
+ | |||
+ | SSLCertificateFile "/ | ||
+ | SSLCertificateKeyFile "/ | ||
+ | Generating the private key.. | ||
+ | |||
+ | %openssl genrsa -out server.key 1024 | ||
+ | |||
+ | In the first step, we generate the private key. private key residing on the server and the public key going out with each connection to the server and encrypting data sent back to the server. The first argument passed to the openssl program tells openssl that we want to generate an RSA key (genrsa), which is an encryption algorithm that all major browsers support.You may, if you wish, specify an argument telling openssl what to use as the source of randomness. The -rand flag will accept one or more filenames (for example: | ||
+ | |||
+ | Литература: | ||
+ | |||
+ | ISBN: 0-7645-4821-2 Mohammed J.Kabir " | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ===== Перевірка сертифікату ===== | ||
+ | |||
+ | [[https:// |
networks/apache/ssl.1389124395.txt.gz · Востаннє змінено: 2014/01/07 19:53 (зовнішнє редагування)