Cannot access OC from a remote web browser using https.

Good Afternoon,

When attempting to access OC from a remote web browser using the url https://xxx.xxx.xxx.xxx/OpenClinica, the browser cannot find the website. However, the http://xxx.xxx.xxx.xxx:8080/OpenClinica url works fine. OC comes up and you can log in.

The OC web/app server is Linux. The remote web browser is IE from a local area network PC. Both http and https services are enabled on the server and port 8080 is open on the Linux server firewall. Is there an Apache and/or Tomcat config setting that needs to be updated to enable https login to the OC url? Thanks in advance for the assistance.

Regards,

Dave Thorpe
Clareo Group LLC

Comments

  • dthorpedthorpe Posts: 4
    Good Afternoon,

    When attempting to access OC from a remote web browser using the url https://xxx.xxx.xxx.xxx/OpenClinica, the browser cannot find the website. However, the http://xxx.xxx.xxx.xxx:8080/OpenClinica url works fine. OC comes up and you can log in.

    The OC web/app server is Linux. The remote web browser is IE from a local area network PC. Both http and https services are enabled on the server and port 8080 is open on the Linux server firewall. Is there an Apache and/or Tomcat config setting that needs to be updated to enable https login to the OC url? Thanks in advance for the assistance.

    Regards,

    Dave Thorpe
    Clareo Group LLC
  • Paul GalvinPaul Galvin Posts: 886
    Hi Dave,

    If you go to https://xxx.xxx.xxx.xx do you see the Tomcat home page? If not, there would be more configuration necessary on Tomcat to allow remote web browsers to access your OpenClinica instance.

    Thanks,
    Paul

    -----------------------------------------------------------------------
    Paul J. Galvin
    Project Manager
    Akaza Research
    617-621-8585 x25
    www.akazaresearch.com
    www.openclinica.org
    ~ OpenClinica Enterprise ~ Ask me about professional training, support, and services for OpenClinica
    Sent: Thursday, June 25, 2009 10:40 AM
    To: [email protected]
    Subject: [Users] Cannot access OC from a remote web browser using https.

    Good Afternoon,

    When attempting to access OC from a remote web browser using the url https://xxx.xxx.xxx.xxx/OpenClinica, the browser cannot find the website. However, the http://xxx.xxx.xxx.xxx:8080/OpenClinica url works fine. OC comes up and you can log in.

    The OC web/app server is Linux. The remote web browser is IE from a local area network PC. Both http and https services are enabled on the server and port 8080 is open on the Linux server firewall. Is there an Apache and/or Tomcat config setting that needs to be updated to enable https login to the OC url? Thanks in advance for the assistance.

    Regards,

    Dave Thorpe
    Clareo Group LLC
  • Hi Dave,
    You'll have to change the port that Tomcat is 'listening' on. There are a few ways you can do this:
    1. Change the Tomcat configurations to listen directly on the default HTTP port 80 and the default HTTPS port 443. In this case, Tomcat will be the standalone webserver. There are arguments for and against this. The 'gotcha' here is that if the server is running Linux, it is also running Apache automatically on port 80, so you will have to disable that before Tomcat will run. More info about this can be found at http://www.klawitter.de/tomcat80.html
    2. Modify Apache so that all requests to Tomcat are automatically forwarded via a proxy. In this case, you will have two servers running; Apache on ports 80 and 443, and Tomcat on ports 8080 and 8443 (for HTTPS). You will have to use mod_proxy with Apache, that is described in more detail at http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html and http://tomcat.apache.org/tomcat-6.0-doc/connectors.html
    Let us know if that points you in the right direction or if you have some more follow up questions.
    Best, Tom
    PS - if non-standard ports are OK for your setup, you can also try connecting via https://xxx.xxx.xxx.xxx:8443/OpenClinica and see if that works for you.
    -----Original Message-----
    Sent: Thu 6/25/2009 17:39
    To: [email protected]
    Subject: [Users] Cannot access OC from a remote web browser using https.

    Good Afternoon,

    When attempting to access OC from a remote web browser using the url https://xxx.xxx.xxx.xxx/OpenClinica, the browser cannot find the website. However, the http://xxx.xxx.xxx.xxx:8080/OpenClinica url works fine. OC comes up and you can log in.

    The OC web/app server is Linux. The remote web browser is IE from a local area network PC. Both http and https services are enabled on the server and port 8080 is open on the Linux server firewall. Is there an Apache and/or Tomcat config setting that needs to be updated to enable https login to the OC url? Thanks in advance for the assistance.

    Regards,

    Dave Thorpe
    Clareo Group LLC
    Attachments:
    winmail.dat 3.7 KB
This discussion has been closed.