---
# System prepended metadata

title: CySec19/20 - Security Architectures - TP5

---

# CySec19/20 - Security Architectures - TP5

## Server certificate

We change the configuration of our Nginx website to enable HTTPS. For that purpose, we add the following lines in the `server` configuration:

```
ssl_certificate /etc/nginx/certs/certif.crt;
ssl_certificate_key /etc/nginx/certs/priv.key;
ssl_password_file /etc/nginx/certs/password.txt;
```

All these files have been created during the TP4: `certif.crt` is the server certificate (`./CA/cert.pem`) signed by the CA, `priv.key` is 