summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/x.509/openssl-cmds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/x.509/openssl-cmds.sh')
-rw-r--r--tests/testsuites/x.509/openssl-cmds.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testsuites/x.509/openssl-cmds.sh b/tests/testsuites/x.509/openssl-cmds.sh
new file mode 100644
index 0000000..5bcc382
--- /dev/null
+++ b/tests/testsuites/x.509/openssl-cmds.sh
@@ -0,0 +1,11 @@
+# CREATE KEY
+# openssl genpkey -algorithm RSA -out client-revoked-key.pem
+# CREATE REQEST
+# openssl req -new -key client-revoked-key.pem -out client-revoked.csr
+# CREATE A CERT
+# openssl ca -config openssl.cnf -in client-revoked.csr -out client-revoked.pem -keyfile ca-key.pem -cert ca.pem
+# REVOKE A CERT
+# openssl ca -config openssl.cnf -revoke client-revoked.pem -keyfile ca-key.pem -cert ca.pem
+# CREATE crl.pem
+# openssl ca -config openssl.cnf -gencrl -out crl.pem -keyfile ca-key.pem -cert ca.pem
+