• SOLVED: Configure OpenKM to work on existing web server

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #49688  by Kildorian
 
I have a CentOS8 server that is running Apache and hosting three different web sites, two HTML and one wordpress. I was able to install openkm and am able to access it on the default port. I am going to use openkm as a replacement for a SharePoint site and want to be able to the site from the outside. I need to know what I need to add to my current httpd.conf to access the site over port 80 or 443 and if I need to change the openkm config to use port 80 or 443 and how to do so. I found this document: https://docs.openkm.com/kcenter/view/ok ... proxy.html but not sure if that is what I need to do.

Thank you.
Last edited by Kildorian on Tue Feb 25, 2020 7:36 pm, edited 1 time in total.
 #49704  by jllort
 
OpenKM use tomcat, the default tomcat ports are 8005, 8080 and 8009, but you can change with other like is described here
https://docs.openkm.com/kcenter/view/ok ... -port.html

If your OpenKM is shared in Internet then a good practice is binding port 8080 only to localhost and configure apache proxy to working behing. In this documentation section we try to explain https://docs.openkm.com/kcenter/view/ok ... proxy.html

When you got port 80 configured and working with OpenKM it's time to configure SSL, here there's some explanation about it https://docs.openkm.com/kcenter/view/ok ... proxy.html a quick way to get apache2 working with SSL is letscrypt https://letsencrypt.org/ ( it is really quick and easy to configure ( I suggest use cerbot https://certbot.eff.org/instructions )
 #49708  by Kildorian
 
Here is what I needed to do in order to get this to work properly. I followed the link JLLORT provided in setting up the reverse proxy. One of the steps was to create an openkkm.conf file in /etc/http/conf.d. After I restarted the httpd service and tried to go to the openkm site, I received an error stating that the service was not available. After making sure I had everything correct I still received the error. I finally got so frustrated that I made a copy of my /etc/httpd/conf/httpd.conf file and added the information that is in the openkm.conf file. I restarted the httpd service and I was able to access the login page and my other sites are still working properly.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.