SSL on Apache

Discussion in 'Apache' started by ajsap, Nov 20, 2012.

  1. #1
    Hello folks,

    I installed the SSL Digicert on Apache httpd web server.. After installing the cert when i try to access the https://hostname/manuals it works well.. but when I try to access our application it gives the webpage can not be found error message. Our application is SAP Business Objects.

    Please advise if we need to modify any settings on the httpd.conf ?


    Thanks!
     
    ajsap, Nov 20, 2012 IP
  2. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    36
    Best Answers:
    7
    Trophy Points:
    173
    #2
    Is SSL installed on the server's hostname ? Are you trying to use the hostname to access the URL ? Check apache error log files to know more about the 404 error.
     
    MilesWeb, Nov 20, 2012 IP
  3. ajsap

    ajsap Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for your reply.. Yes, the SSL is installed on the server's FQDN.


    This is what i see in the logs.


    ssl_access_log




    "GET /BOE/BI HTTP/1.1" 404 294


    ssl_error.log


    [error] [client 172.25.2.37] File does not exist: /etc/httpd/BOE/BI


    But, when I use the http link, the app works well..not https
     
    ajsap, Nov 20, 2012 IP
  4. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    36
    Best Answers:
    7
    Trophy Points:
    173
    #4
    What does apache error logs show when the URL shows error with https ? Can you paste the logs if it shows ?
     
    MilesWeb, Nov 21, 2012 IP
  5. ajsap

    ajsap Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    This is all it write:

    ssl_request_log:


    TLSv1 AES128-SHA "GET /BOE/BI HTTP/1.1" 294


    ssl_access_log:


    [21/Nov/2012:08:35:07 -0800] "GET /BOE/BI HTTP/1.1" 404 294


    ssl_error_log:


    [error] File does not exist: /home/boxiadm/web/BOE/BI


    Acess_log:


    /BOE/portal/1211100555/InfoView/empty.html HTTP/1.1" 200 22 "-" "-"
     
    ajsap, Nov 21, 2012 IP
  6. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    36
    Best Answers:
    7
    Trophy Points:
    173
    #6
    If it is installed on a hostname it should not get to the user's home directory. Unless the DocumentRoot is set to the ones as in error logs.
     
    MilesWeb, Nov 22, 2012 IP
  7. ajsap

    ajsap Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Our application is installed on the home directory of user.. it should be ok...
     
    ajsap, Nov 22, 2012 IP