# \[RESOLVED\] How to install SSL certificate on Kolibri server

**URL:** <https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912>\
**Category:** Kolibri\
**Tags:** installation\
**Created:** [October 20, 2023, 3:23pm UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912 "2023-10-20T15:23:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antonio\_Herrera](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/antonio_herrera/32/1572_2.png) [@Antonio\_Herrera](https://community.learningequality.org/u/Antonio_Herrera)\
**Post date:** [October 20, 2023, 3:23pm UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912/1 "2023-10-20T15:23:35Z")

</div>

Hello, I have installed Kolibri on a linux server which is connected to the internet.  
The Kolibri instance can be reached by calling it with its IP address + 8080  
I’m trying to add an SSL certificate, but don’t know if I need to install nginx before or after Kolibri.  
Could not find any help about this on the documentation.  
Please help with detailed procedure in command line.

---

<div class="post-metadata">

**Author:** ![blaine](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/blaine/32/479_2.png) [@blaine](https://community.learningequality.org/u/blaine)\
**Post date:** [October 30, 2023, 6:05pm UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912/2 "2023-10-30T18:05:53Z")

</div>

> [@Antonio\_Herrera](#):
>
> I’m trying to add an SSL certificate, but don’t know if I need to install nginx before or after Kolibri.

Hi @Antonio_Herrera,

Thank you for your interest in Kolibri!

You’re correct that in order to use an SSL certificate with Kolibri, you need to put nginx in front of Kolibri. This approach is commonly referred to as a ‘reverse proxy’, and ‘SSL termination’ with the SSL certificate in the mix. Our `kolibri-server` debian package, which can be installed using [these instructions](https://kolibri.readthedocs.io/en/latest/install/ubuntu-debian.html#higher-performance-with-the-kolibri-server-package), installs and configures nginx with a reverse proxy to Kolibri. You may then edit the configuration to use an SSL certificate.

Regards,  
Blaine

---

<div class="post-metadata">

**Author:** ![Antonio\_Herrera](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/antonio_herrera/32/1572_2.png) [@Antonio\_Herrera](https://community.learningequality.org/u/Antonio_Herrera)\
**Post date:** [October 31, 2023, 8:24am UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912/3 "2023-10-31T08:24:08Z")

</div>

Thank you, I really appreciate your help !!

---

<div class="post-metadata">

**Author:** ![Antonio\_Herrera](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/antonio_herrera/32/1572_2.png) [@Antonio\_Herrera](https://community.learningequality.org/u/Antonio_Herrera)\
**Post date:** [February 27, 2024, 12:01pm UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912/4 "2024-02-27T12:01:02Z")

</div>

One quick question:

Should we install the kolibri-server ON TOP of Kolibri?

Or does kolibri-server include the Kolibri engine?

We have tried to install kolibri-server from the repository but it did not work.

Where can we download kolibri-server?

---

<div class="post-metadata">

**Author:** ![jredrejo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jredrejo/32/561_2.png) [@jredrejo](https://community.learningequality.org/u/jredrejo)\
**Post date:** [February 27, 2024, 1:39pm UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912/5 "2024-02-27T13:39:57Z")

</div>

hello @Antonio_Herrera

kolibri-server is a Debian package that:

- installs kolibri
- install nginx & uwsgi
- configures nginx, kolibri & uwsgi to work togethet

So, doing `apt install kolibri-server` will drag all its dependencies, you don’t need to install them separately.

As Blaine mentioned in a previous comment in this thread, if you want to use https you have to add the needed ssl configurations to nginx. There’s nothing special in kolibri-server, it just adds some configs to these known applications that are good to go in one step. You’ll need someone with sysadmin skills if you want to customize it.

Regards.  
José L.

---

<div class="post-metadata">

**Author:** ![Antonio\_Herrera](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/antonio_herrera/32/1572_2.png) [@Antonio\_Herrera](https://community.learningequality.org/u/Antonio_Herrera)\
**Post date:** [February 27, 2024, 2:17pm UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912/6 "2024-02-27T14:17:21Z")

</div>

I tried that but I got the following which seems like there is an issue:

Kolibri is an offline app and platform for universal education.

The latest documentation is available here: [http://kolibri.readthedocs.io/](http://kolibri.readthedocs.io/)

Retrieve and Distribute Open Educational Resources (OER) from online resources or from device to device. Resources are shared as ‘channels’, amongst which can be found Khan Academy, PhET and CK-12. To find more channels and create your own, please visit our website for sharing and editing channels: [http://studio.learningequality.org/](http://studio.learningequality.org/)

Given that Kolibri is intended for offline environments, the package is designed to be portable without the need to download further dependencies.

Adding the PPA as an online source:

sudo add-apt-repository ppa:learningequality/kolibri  
sudo apt-get update  
sudo apt-get install kolibri

Downloading portable .deb files:

1. Go to “View package details”
2. Click on the latest package. It doesn’t matter which one, all binaries  
are the same, regardless of your architecture or Ubuntu/Debian version.
3. Scroll down to “Package files”.
4. Fetch the relevant .deb file.  
More info: [Kolibri : “Learning Equality” team](https://launchpad.net/~learningequality/+archive/ubuntu/kolibri)  
Adding repository.  
Press [ENTER] to continue or Ctrl-c to cancel.  
Hit:1 [Index of /ubuntu](http://security.ubuntu.com/ubuntu) mantic-security InRelease  
Hit:2 [Index of /ubuntu/](http://mirrors.digitalocean.com/ubuntu) mantic InRelease  
Get:3 [Index of /ubuntu/](http://mirrors.digitalocean.com/ubuntu) mantic-updates InRelease [109 kB]  
Hit:4 [https://repos-droplet.digitalocean.com/apt/droplet-agent](https://repos-droplet.digitalocean.com/apt/droplet-agent) main InRelease  
Hit:5 [Index of /ubuntu/](http://mirrors.digitalocean.com/ubuntu) mantic-backports InRelease  
Ign:6 [Index of /learningequality/kolibri/ubuntu](https://ppa.launchpadcontent.net/learningequality/kolibri/ubuntu) mantic InRelease  
Err:7 [Index of /learningequality/kolibri/ubuntu](https://ppa.launchpadcontent.net/learningequality/kolibri/ubuntu) mantic Release  
404 Not Found [IP: 185.125.190.80 443]  
Reading package lists… Done  
E: The repository ‘[Index of /learningequality/kolibri/ubuntu](https://ppa.launchpadcontent.net/learningequality/kolibri/ubuntu) mantic Release’ does not have a Release file.  
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.  
N: See apt-secure(8) manpage for repository creation and user configuration details.  
root@Kolibri-TEST-ubuntu-s-1vcpu-1gb-nyc3-01:~#

---

<div class="post-metadata">

**Author:** ![Antonio\_Herrera](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/antonio_herrera/32/1572_2.png) [@Antonio\_Herrera](https://community.learningequality.org/u/Antonio_Herrera)\
**Post date:** [February 27, 2024, 3:05pm UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912/7 "2024-02-27T15:05:21Z")

</div>

NEW UPDATE: we discovered that the issue was our version of Ubuntu.  
While writing this message, the installation process seems to be going through successfully.

.

---

<div class="post-metadata">

**Author:** ![jredrejo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jredrejo/32/561_2.png) [@jredrejo](https://community.learningequality.org/u/jredrejo)\
**Post date:** [February 27, 2024, 3:58pm UTC](https://community.learningequality.org/t/resolved-how-to-install-ssl-certificate-on-kolibri-server/2912/8 "2024-02-27T15:58:42Z")

</div>

Thanks for the feedback. Marking this as resolved!
