Help with enabling SSL module

Discussion in 'Apache' started by logu, Oct 12, 2010.

  1. #1
    Hi all,

    I am trying to enable ssl module to use my application through https,
    i installed openssl and configured with apache. thought ./configure
    command. also using openssl i have created certificate key files and
    put in place.

    But when i try to access my site through https its not working.

    I am newbie to linux environment and server configurations.

    Listen 443
    AddType application/x-x509-ca-cert .crt
    AddType application/x-pkcs7-crl .crl

    SSLSessionCache "shmcb:/usr/local/apache/logs/
    ssl_scache(512000)"
    SSLSessionCacheTimeout 300
    SSLMutex "file:/usr/local/apache/logs/ssl_mutex"


    The following is included in conf file.

    <VirtualHost *:443>
    DocumentRoot "/usr/local/apache/htdocs"
    ServerName MY_SERVERNAME_HERE
    ServerAdmin you@example.com
    ErrorLog "/usr/local/apache/logs/error_log"
    TransferLog "/usr/local/apache/logs/access_log"

    SSLEngine on
    SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:
    +SSLv2:+EXP:+eNULL
    SSLCertificateFile "/usr/local/apache/conf/server.crt"

    SSLCertificateKeyFile "/usr/local/apache/conf/server.key"
    <FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
    </VirtualHost>

    My Loaded Modules:

    Loaded Modules:
    core_module (static)
    authn_file_module (static)
    authn_default_module (static)
    authz_host_module (static)
    authz_groupfile_module (static)
    authz_user_module (static)
    authz_default_module (static)
    auth_basic_module (static)
    include_module (static)
    filter_module (static)
    log_config_module (static)
    env_module (static)
    setenvif_module (static)
    version_module (static)
    ssl_module (static)
    mpm_prefork_module (static)
    http_module (static)
    mime_module (static)
    status_module (static)
    autoindex_module (static)
    asis_module (static)
    cgi_module (static)
    negotiation_module (static)
    dir_module (static)
    actions_module (static)
    userdir_module (static)
    alias_module (static)
    rewrite_module (static)
    so_module (static)
    php5_module (shared)
    Syntax OK
     
    logu, Oct 12, 2010 IP