You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eben <eb...@bakedbean.net> on 2007/06/02 19:39:29 UTC

[users@httpd] started windows service with SSL

I've setup apache 2.0.59 with openssl 0.9.8d.  I've configured one vhost 
on port 443 with the necessary SSL directives. If I start apache as a 
service, everything works fine, but I am unable to resolve the https 
url.  If I go into the apache bin directory, and do: apache -D SSL, then 
apache starts and I can resolve the https url.  I'd like to get this 
working as a service.

I'm not sure what I have to do here, but I'm guessing I need to 
uninstall the service and reinstall it with the SSL flag somehow.  I've 
tried apache -k uninstall and apache -k install with various SSL flags 
but that's obviously not the right approach...

Any insight or advice is appreciated,
thanks,
Eben

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] started windows service with SSL

Posted by Foo JH <jh...@extracktor.com>.
Very good tip. Thanks for sharing.

>>
>> apache -k config -D SSL
>
> Or just upgrade to 2.2 where the silly -D SSL thing is gone. 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] started windows service with SSL

Posted by Joshua Slive <jo...@slive.ca>.
On 6/5/07, William A. Rowe, Jr. <wr...@rowe-clan.net> wrote:
> Eben wrote:
> > Just thought I'd post the answer to this in case anyone else ever runs
> > into this issue.  The solution to setting the apache windows service
> > with the SSL flag was:
> >
> > apache -k uninstall
> > apache -D SSL -k install
>
> The shorthand is
>
> apache -k config -D SSL

Or just upgrade to 2.2 where the silly -D SSL thing is gone.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] started windows service with SSL

Posted by Issac Goldstand <ma...@beamartyr.net>.
It sets a definition that <IfDefine> blocks in the config can pick up.

  Issac

Eben wrote:
> Hi thanks,
> 
> Dumb question coming up:
> 
> What exactly is the significance of the -D flag?  I never was able to
> find any descriptions of what this represented...
> 
> Eben
> 
> William A. Rowe, Jr. wrote:
>> Eben wrote:
>>  
>>> Just thought I'd post the answer to this in case anyone else ever runs
>>> into this issue.  The solution to setting the apache windows service
>>> with the SSL flag was:
>>>
>>> apache -k uninstall
>>> apache -D SSL -k install
>>>     
>>
>> The shorthand is
>>
>> apache -k config -D SSL
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] started windows service with SSL

Posted by Eben <eb...@bakedbean.net>.
Hi thanks,

Dumb question coming up:

What exactly is the significance of the -D flag?  I never was able to 
find any descriptions of what this represented...

Eben

William A. Rowe, Jr. wrote:
> Eben wrote:
>   
>> Just thought I'd post the answer to this in case anyone else ever runs
>> into this issue.  The solution to setting the apache windows service
>> with the SSL flag was:
>>
>> apache -k uninstall
>> apache -D SSL -k install
>>     
>
> The shorthand is
>
> apache -k config -D SSL
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>   


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] started windows service with SSL

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Eben wrote:
> Just thought I'd post the answer to this in case anyone else ever runs
> into this issue.  The solution to setting the apache windows service
> with the SSL flag was:
> 
> apache -k uninstall
> apache -D SSL -k install

The shorthand is

apache -k config -D SSL

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] started windows service with SSL

Posted by Eben <eb...@bakedbean.net>.
Just thought I'd post the answer to this in case anyone else ever runs 
into this issue.  The solution to setting the apache windows service 
with the SSL flag was:

apache -k uninstall
apache -D SSL -k install


Eben wrote:
> I've setup apache 2.0.59 with openssl 0.9.8d.  I've configured one 
> vhost on port 443 with the necessary SSL directives. If I start apache 
> as a service, everything works fine, but I am unable to resolve the 
> https url.  If I go into the apache bin directory, and do: apache -D 
> SSL, then apache starts and I can resolve the https url.  I'd like to 
> get this working as a service.
>
> I'm not sure what I have to do here, but I'm guessing I need to 
> uninstall the service and reinstall it with the SSL flag somehow.  
> I've tried apache -k uninstall and apache -k install with various SSL 
> flags but that's obviously not the right approach...
>
> Any insight or advice is appreciated,
> thanks,
> Eben
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org