Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all, How can I check if my CentOS server has Apache configured with SSL enabled? I think Apache was installed with the default modules. Thanks...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    33

    [SOLVED] How to check if Apache was configured with SSL enabled

    Hi all,

    How can I check if my CentOS server has Apache configured with SSL enabled? I think Apache was installed with the default modules.

    Thanks

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    Assuming that you have the OpenSSL packages installed on your system, then Apache should be able to use them. I don't see any Apache-specific SSL package to install, though you might need to enable SSL via one of the Apache configuration files.

    After some looking in /etc for apache+ssl configuration files, I found this: /etc/httpd/conf.d/nss.conf
    #
    # This is the Apache server configuration file providing SSL support using.
    # the mod_nss plugin. It contains the configuration directives to instruct
    # the server how to serve pages over an https connection.
    #
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    #

    LoadModule nss_module modules/libmodnss.so

    #
    # When we also provide SSL we have to listen to the
    # standard HTTP port (see above) and to the HTTPS port
    #
    # Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
    # Listen directives: "Listen [::]:8443" and "Listen 0.0.0.0:443"
    #
    Listen 8443
    It goes on for quite a bit, and as it says, "Do NOT simply read the instructions in here without understanding what they do. They're here only as hints or reminders. If you are unsure, consult the online docs. You have been warned." - caveat administrator!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    21
    Thanks for that.I'm new to Centos too..Have a lot to learn..

  4. #4
    Just Joined!
    Join Date
    Jun 2008
    Posts
    33
    I've found the solution: when Apache was first installed it created a file called config.nice in the root of the source which contains the config lines that were used such as --with-ssl

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...