I have generated the certificates as given below:
Root-CA -> Intermediate-CA -> Server
Root-CA:
rootca.key
rootca.crt
rootca.crl
Intermediate-CA:
intermediateca.key
intermediateca.crt
intermediateca.crl
Server:
server.key
server.crt
Here, Root-CA
Signed by Root-CA
which is Self-Signed Certificate.
Then, Intermediate-CA
Signed by Root-CA
and Server
Signed by Intermediate-CA
All the above files are in confs
folder
Nginx conf:
server {
listen 443 ssl;
listen [::]:443 SSL;
server_name www.example.com;
ssl_certificate /home/user/confs/?;
ssl_certificate_key /home/user/confs/?;
ssl_ocsp on;
ssl_verify_client on;
ssl_verify_depth 2;
ssl_client_certificate /home/user/confs/?;
ssl_crl /home/user/confs/?;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /home/user/confs/?;
}
What files are will be in ?
.
Can anyone please help me with the Nginx configuration.
Thank you for your time.