forked from TrueCloudLab/certificates
FAQ Update: Intermediate certificates should be valid for 10 years
This commit is contained in:
parent
043233f90f
commit
a1debf7b1e
1 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ aws acm-pca issue-certificate \
|
|||
--csr intermediate.csr \
|
||||
--template-arn "arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen1/V1" \
|
||||
--signing-algorithm "SHA256WITHRSA" \
|
||||
--validity Value=365,Type="DAYS"
|
||||
--validity Value=3650,Type="DAYS"
|
||||
```
|
||||
|
||||
This command will return the ARN of the certificate created. Now use [get-certificate](https://docs.aws.amazon.com/cli/latest/reference/acm-pca/get-certificate.html) to fetch the intermediate certificate:
|
||||
|
@ -188,7 +188,7 @@ aws acm-pca get-certificate \
|
|||
```bash
|
||||
openssl ca -config [ROOT_CA_CONFIG_FILE] \
|
||||
-extensions v3_intermediate_ca \
|
||||
-days 365 -notext -md sha512 \
|
||||
-days 3650 -notext -md sha512 \
|
||||
-in intermediate.csr \
|
||||
-out intermediate.crt
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue