Skip to content

When the command uses `-days 365` to create the issued server certificate, what does that option specify?

Answer

The number of days the certificate is valid

Explanation

### Why this is right In the described certificate-issuance command, `-days 365` sets the validity period of the resulting certificate to 365 days. It is a certificate property, not a delay or a setting for how long a private key is encrypted. ### The concept An X.509 certificate has a validity interval during which it is intended to be accepted. The `-days` option sets the number of days for which the generated certificate is valid from its creation time in this workflow. The certificate also has a serial number and a signature from its issuer. The validity period does not automatically erase or destroy either the certificate file or the private key when time expires. ### The other options - **B. The number of days the CA private key is encrypted**: the key-file encryption is controlled by the key-generation and passphrase setup, not by certificate validity. - **C. The number of days OpenSSL waits before signing the CSR**: the option sets validity duration; it does not schedule signing. - **D. The number of days the server private key is retained**: key retention is an operational decision and is not specified by this certificate option. ### Terms - **X.509**: A certificate format used in public-key infrastructures. - **CSR**: Certificate Signing Request. A request submitted for certificate issuance. ### Remember `-days` sets certificate validity, not key lifetime or signing delay.

Related Questions

Want to practice more questions like this?

Join myBenkio free and practice past questions for your Nigerian university courses with AI explanations for every answer.

Start Practicing Free