|
Next: Limit on # of connections from the same IP
|
| Author |
Message |
External

Since: Oct 18, 2003 Posts: 6
|
(Msg. 1) Posted: Sat Oct 18, 2003 12:42 pm
Post subject: How to enable SSL? Archived from groups: alt>apache>configuration (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Nov 03, 2003 Posts: 2907
|
(Msg. 2) Posted: Sat Oct 18, 2003 8:53 pm
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
nospam <no RemoveThis @spam.com> wrote:
> What else to I have to do in the httpd2.conf and ssl.conf
<font color=purple> > files, in order to access SSL via <a style='text-decoration: underline;' href="https://mydomain.com?</font" target="_blank">https://mydomain.com?</font</a>>
Did you started your apache with apachectl startssl ? When you
try to access trought https what does it respond?
Davide<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |
External

Since: Oct 18, 2003 Posts: 6
|
(Msg. 3) Posted: Sat Oct 18, 2003 11:02 pm
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
I've been using "service httpd2 start" to start apache2.
I receive the following error when using apachectl2:
apache-01:/etc/httpd2/conf> apachectl2 startssl
no listening sockets available, shutting down
Unable to open logs
On Sat, 18 Oct 2003 17:53:19 +0000, Davide Bianchi wrote:
> nospam <no.DeleteThis@spam.com> wrote:
>> [quoted text muted]
>
> Did you started your apache with apachectl startssl ? When you
> try to access trought https what does it respond?
>
> Davide<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |
External

Since: Jul 15, 2003 Posts: 26
|
(Msg. 4) Posted: Sun Oct 19, 2003 1:47 am
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
nospam wrote...
<font color=purple> > I can access my apache server 2.0.46 via <a style='text-decoration: underline;' href="http://mydomain.com.</font" target="_blank">http://mydomain.com.</font</a>>
> However, I cannot access <a style='text-decoration: underline;' href="https://mydomain.com." target="_blank">https://mydomain.com.</a> I've obtained
> a temporary cert from VeriSign, configured the ssl.conf like:
>
> SSLCertificateFile /etc/httpd2/conf/ssl.crt/public.crt
> SSLCertificateKeyFile /etc/httpd2/conf/ssl.key/secureprivate.key
>
> What else to I have to do in the httpd2.conf and ssl.conf
<font color=purple> > files, in order to access SSL via <a style='text-decoration: underline;' href="https://mydomain.com?</font" target="_blank">https://mydomain.com?</font</a>>
>
>
> -Thanks
>
>
In ssl.conf comment out the #<IfDefine SSL> and #</IfDefine> at the
beginning and end of the file.
Ensure you have the correct entries for DocumentRoot, ServerName, etc.
Use apachectl configtest to see if everything is ok.
Restart apache and it should hopefully work.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |
External

Since: Nov 03, 2003 Posts: 2907
|
(Msg. 5) Posted: Sun Oct 19, 2003 9:11 am
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
nospam <no.TakeThisOut@spam.com> wrote:
> apache-01:/etc/httpd2/conf> apachectl2 startssl
> no listening sockets available, shutting down
> Unable to open logs
"Unable to open logs" is suspicious, make me think that you are starting
apache with a wrong user or he doesn't have enough right to write in
the logs directory. Anyway, to start apache with ssl support, you need
to specify the startssl bit.
Davide<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |
External

Since: Oct 18, 2003 Posts: 6
|
(Msg. 6) Posted: Sun Oct 19, 2003 12:03 pm
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, 18 Oct 2003 22:47:46 +0200, Alps wrote:
> Use apachectl configtest to see if everything is ok.
>
> Restart apache and it should hopefully work.
Yes, I've done that, and it returns "Syntax OK" I don't
belive it's a permissions issue, becaue I've changed
ownership of the logs directory and log files to apache2,
and made the perms all 777 for now.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |
External

Since: Oct 18, 2003 Posts: 6
|
(Msg. 7) Posted: Sun Oct 19, 2003 12:04 pm
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 19 Oct 2003 06:11:54 +0000, Davide Bianchi wrote:
> nospam <no RemoveThis @spam.com> wrote:
>> [quoted text muted]
>
> "Unable to open logs" is suspicious, make me think that you are starting
> apache with a wrong user or he doesn't have enough right to write in
> the logs directory. Anyway, to start apache with ssl support, you need
> to specify the startssl bit.
>
> Davide
I don't belive it's a permissions issue, becaue I've changed
ownership of the logs directory and log files to apache2,
and made the perms all 777 for now.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |
External

Since: Jul 15, 2003 Posts: 26
|
(Msg. 8) Posted: Mon Oct 20, 2003 8:42 am
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
nospam wrote...
> I've been using "service httpd2 start" to start apache2.
> I receive the following error when using apachectl2:
>
>
> apache-01:/etc/httpd2/conf> apachectl2 startssl
> no listening sockets available, shutting down
> Unable to open logs
>
>
Have you tried rebooting since installing Apache?
The no listening sockets could mean you have another copy of Apache
running and are trying to start a second.<!-- ~MESSAGE_AFTER~ --> >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |
External

Since: Jul 11, 2003 Posts: 22
|
(Msg. 9) Posted: Mon Oct 20, 2003 4:15 pm
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
RTM
"nospam" <no.DeleteThis@spam.com> wrote in message news:pan.2003.10.18.13.42.25.335569@spam.com...
<font color=purple> > I can access my apache server 2.0.46 via <a style='text-decoration: underline;' href="http://mydomain.com.</font" target="_blank">http://mydomain.com.</font</a>>
> However, I cannot access <a style='text-decoration: underline;' href="https://mydomain.com." target="_blank">https://mydomain.com.</a> I've obtained
> a temporary cert from VeriSign, configured the ssl.conf like:
>
> SSLCertificateFile /etc/httpd2/conf/ssl.crt/public.crt
> SSLCertificateKeyFile /etc/httpd2/conf/ssl.key/secureprivate.key
>
> What else to I have to do in the httpd2.conf and ssl.conf
<font color=purple> > files, in order to access SSL via <a style='text-decoration: underline;' href="https://mydomain.com?</font" target="_blank">https://mydomain.com?</font</a>>
>
>
> -Thanks
><!-- ~MESSAGE_AFTER~ --> >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |
External

Since: Jan 06, 2004 Posts: 23
|
(Msg. 10) Posted: Thu Oct 23, 2003 3:16 pm
Post subject: Re: How to enable SSL? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
At one point of what you have said, it seemed to me that you had
Apache running with 'apachectl start', and then you tried it with
'apachectl startssl' without shutting the server down first.
You have to first shut down your non-ssl start-up (apachectl stop),
then start up apache w/ssl with 'apachectl startssl'.
make sure...
ssl.conf has the right webroot set.
that httpd.conf calls ssl.conf at some point.
and that the key files have the right permissions set.
'netstat -ape' and 'ps -auxf' should have apache listening and
processes running.
http://www.devside.net has some info on ssl w/ Apache2. >> Stay informed about: How to enable SSL? |
|
| Back to top |
|
 |  |