how to make openolat url with https

139 views
Skip to first unread message

abdulkh...@gmail.com

unread,
Oct 9, 2014, 9:24:41 AM10/9/14
to open...@googlegroups.com
Hi ,
 
I had Set server.port.ssl=443 in olat.local.properties and all generated URL will become https URLs.
but when i hit the https://localhost:8443/openolat/dmz -- it shows no login page and i tries with 443 port also
 
where as i hit with http://localhost:8080/openolat/dmz it shows login page.
 
Please  let me know which other files i need to change the code to set .. i.e. web.xml  etc.,
 
 

Florian Gnägi

unread,
Oct 9, 2014, 9:47:32 AM10/9/14
to open...@googlegroups.com
Please, read the tomcat documentation how to setup tomcat in a SSL environment. You have to decide if you want tomcat to handle SSL termination of if you want to use an Apache webserver as a gate keeper and use mod_proxy_ajp to connect to tomcat (recommended for production)

Anyway, why do you configure server.port.ssl in OpenOLAT to port 443 and then try to call tomcat on port 8443? I mean, this is not the same port, is it? Those numbers must match. And you should remove the http connector on port 8080 if you configure ssl on port 8443 or 443.

So, you have three options: 
- use tomcat http connector on port 80 or 8080 and set server.port.ssl=0 in OpenOLAT (since this is without SSL)
- use tomcat http connector on port 443 or 8443 and set server.port.ssl=443 (or 8443 respectively) in OpenOLAT
- use tomcat ajp connector, setup Apache mod_proxy_ajp and set server.port.ssl=443 in OpenOLAT

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------















Reply all
Reply to author
Forward
0 new messages