We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

SSL Certificate

Hi,

 Could some one suggest me how to apply the SSL certificate. I suppose our problem is we are not sure where to place the certificate and also the connector parameter how it should look

    <Connector port="443"
       protocol="org.apache.coyote.http11.Http11Protocol"
               maxThreads="200" SSLEnabled="true" scheme="https" secure="true"
               keystoreFile="/openclinica" keystorepass="XXX"
               clientAuth="false" sslProtocol="TLS" />

 we kept the .keystore file in the same folder where the server.xml exists. when we access the url it works for http but not for https

Appreciate all the help!

Comments

  • kristiakkristiak Posts: 1,326 ✭✭✭

    I suggest you study the detailed instructions for Tomcat that you can find at https://www.digicert.com/ssl-certificate-installation-tomcat.htm and http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html 

    I would change the port to 8443 

    Good luck

    Regards

    Krister

  • Hi Krister,

     Thanks for the userful links we had set up exactly the same way it describes in those links

       <Connector executor="tomcatThreadPool"
                   port="80" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443" />

        <Connector port="8443"
           protocol="org.apache.coyote.http11.Http11Protocol"
                   maxThreads="200" SSLEnabled="true" scheme="https" secure="true"
                   keystoreFile="/xxx/xx.keystore" keystorepass="xxx"
                   clientAuth="false" sslProtocol="TLS" />
       

        <!-- Define an AJP 1.3 Connector on port 8009 -->
        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

    we have installed tomcat and place the openclinca folder the webapps folder

    D:\OC\tomcat\webapps\OpenClinica under this folder we have place the .keystore file and in the server.xml file we defined the path as
    "${user.home}/.keystore"

    not sure if the path is correct but when we restart the tomcat service the https doesn't work http works though

    Appreciate any Guidance on this.
  • kristiakkristiak Posts: 1,326 ✭✭✭

    Cheers


    Krister  

  • kristiakkristiak Posts: 1,326 ✭✭✭

    I'm not sure you have installed the certificate in the correct place. Our Digicert certificates are all installed in the JAVA bin file!

    Cheers

    Krister

  • pointed to that even with that we have no luck. should we remove the tag for port 80?
  • kristiakkristiak Posts: 1,326 ✭✭✭
    You have to follow the instructions from your SSL supplier to the letter and I would suggest you start from scratch rather that trying to fix it afterwards.
  • Got It! Thanks Krister!
  • kristiakkristiak Posts: 1,326 ✭✭✭

    SSL certificates are a little tricky in my opinion, maybe because we only install certificates every second year.)

    Cheers

    Krister   

This discussion has been closed.