We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54eb0e2 commit 126cedfCopy full SHA for 126cedf
test/rsa_genpkey_x509_csr.sh
@@ -18,8 +18,8 @@ openssl req -verify -in server.csr -text -noout
18
19
# issue the certificate by the TPM-based CA
20
openssl x509 -provider tpm2 -provider default -propquery '?provider=tpm2' \
21
- -req -in server.csr -CAkey rootca.key -CA rootca.crt -CAcreateserial -out server.crt
+ -req -in server.csr -CAkey rootca.key -CA rootca.crt -CAserial rootca.srl -CAcreateserial -out server.crt
22
# check the certificate
23
openssl x509 -in server.crt -text -noout
24
25
-rm rootca.key rootca.crt server.key server.csr server.crt
+rm rootca.key rootca.crt rootca.srl server.key server.csr server.crt
0 commit comments