0
Answered
how to make mycollab runs on https
Hi everybody. I need that Mycollab runs on HTTPS but i cannot find any configuration for that!
Please help me.
Customer support service by UserEcho
You can setup nginx as the reverse proxy in front of MyCollab, and setup HTTPS with nginx.
Thank you for your answer. Is it possible to set HTTPS with Mycollab default server (Jetty server) or Apache Tomcat ?
Yes, you can. MyCollab is a spring boot application, and you simply config the Spring boot HTTPS like this article https://www.tutorialspoint.com/spring_boot/spring_boot_enabling_https.htm. The config file is located at %MYCOLLAB_HOME%/config
Thank you for your answer. We use Mycollab 5.4.10 and as i know in this version, spring is used not spring boot!
You are right! We start using Spring boot on version 6.0. With this version, you only have the option to use reverse proxy as above. I prefer to use the reverse proxy because it is lightweight and easy to install
Thank you very much.
1-The first step is to generate a keystore using
keytool
.-validity 3650
means the certificate is valid for3650
days.2- in JettyServerBasedRunner.java in method execute apply below changes:
2.1-comment below lines
2.2-add below lines and set path of mykey.jks and your key store password in code
3- in mycollab.properties apply below changes: Change http to https
4-maven -> clean,install
5-run
references:
https://newfivefour.com/jetty-9-ssl-https.html
https://medium.com/vividcode/enable-https-support-with-self-signed-certificate-for-embedded-jetty-9-d3a86f83e9d9