I have installed cms 1c-bitrix. To install an ssl certificate I need in the file /etc/nginx/ssl/cert.pem add - First private key, and then the domain certificate, then intermediate (intermediate) certificates.
In the same directory as privkey.pem. cert.pem is, no shocker here, your certificate, chain.pem is the intermediate cert and fullchain.pem is cert.pem and chain.pem combined in one file.
It is a good idea to configure your software to use the version in live instead of making a copy. That’s because you’ll need to renew the certificate within three months. When you do, the live version will be updated with the renewed certificate and associated information (including a new private key!). However, if you make a copy elsewhere, that copy won’t be automatically updated during renewal.