Requirements
You’ll need a Certificate Authority. To create your own, follow these steps: Certificates - Quick Certificate Authority setup
Set Up the server SSL Certificate
y%20setup.md)shell openssl genrsa -out httpd.key 2048
2. **Create a Certificate Signing Request (CSR)**
Create a configuration file `httpd_openssl.cnf`:
```shell
[ req ]
default_bits = 2048
distinguished_name = req_distinguished_name
req_extensions = req_ext
prompt = no
[ req_distinguished_name ]
C = AU
ST = Some-State
L = Some-City
O = Your-Organization
CN = 192.168.3.2
[ req_ext ]
subjectAltName = @alt_names
[ alt_names ]
IP.1 = 192.168.3.2
DNS.1 = your.hostname
- Generate the CSR using this configuration file
CA-side
- Sign the CSR with the CA to create the server Certificate
This signs the GLPI server CSR with the CA’s private key and certificate to create the GLPI server certificate (glpi.crt
).
- Create a Full Chain Certificate
Concatenate the GLPI server certificate and the CA certificate:
Configure Apache
Server-side
- Copy Certificates to Appropriate Locations
- Update Apache Configuration
Edit the Apache virtual host configuration to use the new certificates:
For web-browsing
If you import the CA certificate in your favorite browser (or in your OS), you will not get a “self-signed” alert when connecting to your website if it has a self-signed certificate.