- Firstly, we need to create a directory to store the repository certificates in:
mkdir -p /etc/ssl/nginx
- Next, you will need to download both the private and public certificates from the NGINX customer portal (https://cs.nginx.com), which should be named:
nginx-repo.key
nginx-repo.crt
- Copy these files into the directory created. We can then ensure that the root CA certificate bundle has been installed:
yum install -y ca-certificates
- We can now install the NGINX Plus repository:
yum-config-manager --add-repo \ https://cs.nginx.com/static/files/nginx-plus-7.repo
- With the repository keys ready and the repository installed, we can now install NGINX Plus:
yum install -y nginx-plus
- If you have the correct keys, this will install ...