Привет всем!
Тут маленький вопросик - как сделать так, чтобы апач отдавал страницы через SSL (стандартный 443 порт). Как это прописать в виртуальных хостах??? Да вообще как его заставить глотать https ?
Все установил:
Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7d PHP/4.3.10 Server at smim.ru Port 80
emerge apache2
nano /etc/conf.d/apache2 - добавить -DSSL
зайти на страницу https://localhost
при установке есть тестовый сертификат
(http://www.apache-ssl.org/) писал(а):Now I've got my server installed, how do I create a test certificate?
Step one - create the key and request:
openssl req -new > new.cert.csr
Step two - remove the passphrase from the key (optional):
openssl rsa -in privkey.pem -out new.cert.key
Step three - convert request into signed cert:
openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey new.cert.key -days 365
The Apache-SSL directives that you need to use the resulting cert are: