Results 1 to 9 of 9

Thread: where is httpd-ssl.conf? where is it located?

  1. #1
    Join Date
    Sep 2008
    Beans
    721
    Distro
    Ubuntu 12.04 Precise Pangolin

    where is httpd-ssl.conf? where is it located?

    where is httpd-ssl.conf? where is it located?

    I dont have this file.

    Thank you.
    Using 12.04 Ubuntu

  2. #2
    Join Date
    Nov 2008
    Location
    Storybrooke
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: where is httpd-ssl.conf? where is it located?

    moved to server platforms
    Ubuntu Forums Moderation Staff
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  3. #3
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,481

    Re: where is httpd-ssl.conf? where is it located?

    Quote Originally Posted by 007casper View Post
    where is httpd-ssl.conf? where is it located?

    I dont have this file.

    Thank you.
    Check with:

    Code:
    locate httpd-ssl.conf

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: where is httpd-ssl.conf? where is it located?

    What are you trying to do?

    If you enable ssl, you can change the settings in /etc/apache2/sites-available/default-ssl.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    Sep 2008
    Beans
    721
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: where is httpd-ssl.conf? where is it located?

    cp default-ssl store.site.com-ssl

    I have enabled store.site.com-ssl

    /etc/init.d/apache2 reload
    /etc/init.d/apache2 restart

    apache2ctl configtest

    apache2ctl restart

    I have tried many other things and I constantly get the same error. And the app is not loading on the browser.

    [Fri Mar 01 03:55:30 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
    [Fri Mar 01 03:55:30 2013] [error] proxy: AJP: failed to make connection to backend: localhost
    [Fri Mar 01 14:32:06 2013] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed

    I am not really sure why it is not loading.
    Using 12.04 Ubuntu

  6. #6
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: where is httpd-ssl.conf? where is it located?

    Looks like you are using Tomcat (?)

    https://wiki.archlinux.org/index.php/Tomcat_and_Apache
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  7. #7
    Join Date
    Sep 2008
    Beans
    721
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: where is httpd-ssl.conf? where is it located?

    thanks for the link. I dont know why I am getting this error. I still get the same error.

    here is my vhost file

    # domain: store.example.com
    # public: /var/www/

    #Listen 80
    NameVirtualHost *:80

    <VirtualHost *:80>
    # Admin email, Server Name (domain name), and any aliases
    ServerName store.example.com:443
    ServerAdmin webmaster@localhost

    # Index file and Document Root (where the public files are located)
    # DirectoryIndex index.html index.php
    # DocumentRoot /home/user/public/store.example.com/public
    DocumentRoot /var/www

    SSLEngine Off

    # Log file locations
    LogLevel warn
    ErrorLog /var/log/apache2/error.log
    CustomLog /var/log/apache2/access.log combined

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass / ajp://localhost:8009/

    RewriteEngine On
    RewriteRule ^/(images/.+);jsessionid=\w+$ /$1

    </VirtualHost>


    <VirtualHost *:443>
    ServerName store.example.com:443
    ServerAdmin webmaster@localhost

    ProxyRequests Off
    ProxyPreserveHost On
    proxyPass / ajp://localhost:8009/ retry=0

    RewriteEngine On
    RewriteRule ^/(images/.+);jsessionid=\w+$ /$1

    SSLEngine On
    SSLProtocol all -SSLv2
    SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
    SSLCertificateFile /etc/apache2/ssl/st_example.crt
    SSLCertificateKeyFile /etc/apache2/ssl/st.example.key
    SSLCACertificateFile /etc/apache2/ssl/st_example.ca-bundle
    </VirtualHost>
    Using 12.04 Ubuntu

  8. #8
    Join Date
    Sep 2008
    Beans
    721
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: where is httpd-ssl.conf? where is it located?

    I wonder if it is better to define with IP then localhost

    ProxyPass / ajp:// your ip:8009/ instead of proxyPass / ajp://localhost:8009/ retry=0

    any ideas
    Using 12.04 Ubuntu

  9. #9
    Join Date
    Sep 2008
    Beans
    721
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: where is httpd-ssl.conf? where is it located?

    I tried many ways as localhost, with IP, with 127.0.0.1... I even put the "proxyPass / ajp://localhost:8009/" ajp in apache2.conf.

    The app doesnt load. I just seem to have the same problems.

    [Fri Mar 01 03:55:30 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
    [Fri Mar 01 03:55:30 2013] [error] proxy: AJP: failed to make connection to backend: localhost
    [Fri Mar 01 14:32:06 2013] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed

    Is there any way to solve this problem?
    Using 12.04 Ubuntu

Bookmarks

Posting Permissions

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