Freesco, NND, CDN, EOS
http://forum.freesco.pl/

Apache +SSL
http://forum.freesco.pl/viewtopic.php?f=22&t=10796
Strona 1 z 1

Autor:  przemek_nnd [ czwartek, 19 stycznia 2006, 00:10 ]
Tytuł:  Apache +SSL

Mam pewien problem - otóż chciałem postawić serwer WWW z SSL-em i po skonfigurowaniu Apache 2.0.55 wyskakuje mi komunikat:
[root@serwer przemek]# apachectl startssl
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
:(
mój virtual.conf
....
Listen 443

NameVirtualHost *:443

<VirtualHost *:443>
ServerName xxx.com
DocumentRoot "/home/httpd/html/php-files"
ServerAdmin admin@xxx.com
ErrorLog /var/log/httpd/xxx-error_log
CustomLog /var/log/httpd/xxx_ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/conf/server.crt
SSLCertificateKeyFile /etc/httpd/conf/server.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/usr/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent "."MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>

Kurde - co mógłbym spaprać - czy chodzi o parametr Listen?

Autor:  lamer [ czwartek, 19 stycznia 2006, 11:03 ]
Tytuł: 

Przeczytaj opis na nnd.freesco.pl, wygeneruj certyfikaty, zmień odpowiednie ścieżki i wpisy dotyczące virtualki (np nazwa serwera...).
Na pewno zadziała.

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/