#1995 SSL setup for apache

1.180
closed
5
2005-03-22
2005-03-21
carlos
No

I'm trying to setup SSL for apache, I'm using fedora Core
3 on a Athlon 64 3200 and webmin 1.18, so I go to

1.- http://localhost/apache
2.- http://localhost/apache/virt_index.cgi?virt=242
which is virtual server 443
3.-http://localhost/apache/edit_virt.cgi?virt=242&type=14
wich is SSL Options
4.- And select Yes on Enable SSL?
and save it.

When I try to start apache, it gives me the following error

Failed to start apache :
Starting httpd: Syntax error on line 248
of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLEnable', perhaps mis-spelled or
defined by a module not included in the server
configuration
[FAILED]

if I select No on Enable SSL?
I get the following error

Failed to start apache :
Starting httpd: Syntax error on line 248
of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLDisable', perhaps mis-spelled or
defined by a module not included in the server
configuration
[FAILED]

can you help

Thanks

Discussion

  • Jamie Cameron

    Jamie Cameron - 2005-03-22
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2005-03-22

    Logged In: YES
    user_id=129364

    To fix this, do the following :
    - Edit /etc/httpd/conf.d/ssl.conf and remove the SSLEnable
    or SSLDisable line.
    - In the Apache module, click on 'Re-Configure Known Modules'
    - De-select mod_apachessl and select mod_ssl
    - Click Configure
    You should now be able to go to the port 443 virtual server
    and properly enable SSL.

     
  • carlos

    carlos - 2005-03-22

    Logged In: YES
    user_id=976170

    Thanks for answering Jamie
    I removed the line SSLEnable from ssl.conf, but when I try
    to Re-Configure known modules, mod_ssl is already checked
    and mod_apachessl is already unchecked and if I try to
    either uncheck mod_ssl or check mod_apachessl and hit the
    Configure button, the settings do not change in other words
    mod_ssl stays checked and mod_apachessl stays unchecked.
    One thing I noticed is that in the httpd.conf file neither
    mod_ssl nor mod_apachessl is listed in the DSO section.

    Thanks again and hope you can help me.
    Carlos Urbina

     
  • Jamie Cameron

    Jamie Cameron - 2005-03-24

    Logged In: YES
    user_id=129364

    In that case, you should add a LoadModule line for mod_ssl
    to httpd.conf .
    Webmin does not do this for you unfortunately .. it just
    detects which modules are loaded.

     

Log in to post a comment.