You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-04-17 08:53:27

shankaraiyav@nseix.com
Member
From: India
Registered: 2024-04-17
Posts: 2

GLPI with port 443 / HTTPS

Is there way to install the GLPI with HTTPS with 443/tcp port?? Since port 80 is vulnerable we are not allowed to do the installation with default option. Please let me know

Offline

#2 2024-04-17 14:49:07

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,430
Website

Re: GLPI with port 443 / HTTPS

What is your OS and web server?
Have you already tried anything to configure your web server for HTTPS?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2024-04-23 14:54:07

sailingthewild
Member
Registered: 2024-04-23
Posts: 2

Re: GLPI with port 443 / HTTPS

I am just learning but this is how I set it up.

You seem to need a cert and a registered site name.

Install Certbot -        sudo snap install –classic certbot
Prepare  certbot -     sudo ln -s /snap/bin/certbot /user/bin/certbot
Install certificates -   sudo certbot –apache 
Then test  -             sudo certbot renew –dry-run

Check your ***ssl.conf file is suitably setup.  To be found in /etc/apache2/sites-available.
You might need to      -    sudo a2ensite 000-default-le-ssl.conf

The 000-default-le-ssl.conf    should reflect your 443 setup
Dont forget to  -     systemctl restart apache2   ever so often.

On your 80 conf set you can (What ever it is called) you can add - Redirect  "/" https://yoursite
which redirects from http to https

I had already moved to conf file and data files out of /glpi but my redirect by the client to /glpi no longer works so I direct it to /glpi/front/inventory.php.

I got it to work by looking it all up on youtube and google. Flying by the seat of my pants most of the way.

If anyone thinks I have given bad advise please let me know where its wrong.

GLPI- Trainee.

Offline

#4 2024-04-26 06:28:24

InvisibleJim
Member
Registered: 2023-11-26
Posts: 6

Re: GLPI with port 443 / HTTPS

It is a configuration of your web server to listen on 443 and redirect requests from 80/http to 443/https. You can configure the webserver to get a Letsencrypt certificate as per the example above.

Another option is to use a reverse proxy such as HAProxy, Traefik or Caddy in front of the webserver which can handle the encryption and SSL certificates for multiple web applications.

Offline

Board footer

Powered by FluxBB