Directive reference
ssl_certificate
Loads the PEM certificate chain for a TLS server.
| Syntax | ssl_certificate file; |
|---|---|
| Contexts | httpserver |
| Default | none |
Behavior
Declare it with ssl_certificate_key. Multiple certificate/key pairs allow RSA and ECDSA selection.
Example
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; Related directives
ssl_certificate_key · ssl_protocols · listen