From b70b24601b1de9a161a036db68202045eadca91e Mon Sep 17 00:00:00 2001 From: seanlongcc Date: Mon, 10 Jun 2024 11:15:47 -0400 Subject: [PATCH] update certificates readme --- certificates/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certificates/README.md b/certificates/README.md index 60b3195..9ba4ac3 100644 --- a/certificates/README.md +++ b/certificates/README.md @@ -94,7 +94,7 @@ All users trying to log in to the database will need this file. 3. **Sign the MongoDB Server's CSR with the Local CA** ```bash - openssl x509 -req -days 397 -sha256 -in mongodb.csr -CA localCA.pem -CAkey localCA.key -out mongodb-cert.crt + openssl x509 -req -days 397 -sha256 -in mongodb.csr -CA localCA.pem -CAkey localCA.key -CAcreateserial -out mongodb-cert.crt ``` 4. **Combine the MongoDB Server's Private Key and Certificate into One PEM File** @@ -137,7 +137,7 @@ net: 3. **Sign User’s CSR with the Local CA** ```bash - openssl x509 -req -days 397 -sha256 -in user1.csr -CA localCA.pem -CAkey localCA.key -out user1.crt + openssl x509 -req -days 397 -sha256 -in user1.csr -CA localCA.pem -CAkey localCA.key -CAcreateserial -out user1.crt ``` 4. **Combine User’s Private Key and Certificate**