[nycphp-talk] freebsd, apache, mod_ssl problems
Kenneth Downs
ken at secdat.com
Mon Oct 31 12:02:04 EST 2005
In Gentoo Linux we have to activate SSL by using the parameter "-D SSL"
which is set in /etc/conf.d/apache2. I would think it would be close if
not the same in BSD, since it is an apache configuration issue.
If there is a place where you turned on PHP, that is where you turn on
SSL, so that in my /ect/conf.d/apache2 I also have to set "-D PHP5"
> Hey Folks:
>
> I've installed FreeBSD on my laptop. I've compiled Apache with mod_ssl.
> When I go to http://localhost/, we're good. But when I try to do
> https://localhost/, I get a connection refused error.
>
> I set up the test cert using "localhost" as the domain name.
>
> The only change I made to httpd.conf is setting ServerName to "localhost".
>
> The logs are below:
>
> error_log
> ---------
> [Sun Oct 30 18:13:01 2005] [alert] httpd: Could not determine the
> server's fully qualified domain name, using 127.0.0.1 for ServerName
> [Sun Oct 30 18:13:01 2005] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25
> OpenSSL/0.9.7e configured -- resuming normal operations
> [Sun Oct 30 18:13:01 2005] [notice] Accept mutex: flock (Default: flock)
>
> ssl_engine_log
> --------------
> [30/Oct/2005 18:13:01 52128] [info] Init: 1st restart round (already
> detached)
> [30/Oct/2005 18:13:01 52128] [info] Init: Seeding PRNG with 1160 bytes
> of entropy
> [30/Oct/2005 18:13:01 52128] [info] Init: Configuring temporary RSA
> private keys (512/1024 bits)
> [30/Oct/2005 18:13:01 52128] [info] Init: Configuring temporary DH
> parameters (512/1024 bits)
> [30/Oct/2005 18:13:01 52128] [info] Init: Initializing (virtual) servers
> for SSL
>
> Any ideas, please?
>
> Thanks,
>
> --Dan
>
> --
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
--
Kenneth Downs
Secure Data Software
631-379-0010
ken at secdat.com
PO Box 708
East Setauket, NY 11733
More information about the talk
mailing list