diff options
Diffstat (limited to 'testing/ca-example/commands.txt')
-rw-r--r-- | testing/ca-example/commands.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/testing/ca-example/commands.txt b/testing/ca-example/commands.txt deleted file mode 100644 index 7470640e..00000000 --- a/testing/ca-example/commands.txt +++ /dev/null @@ -1,16 +0,0 @@ -# Signing a client certificate -$ openssl x509 -CAserial serial.txt -CA certs/ca.crt -CAkey keys/ca.key \ - -days 3650 -req -in requests/client.req -out certs/client.crt - -# Self-signing a certificate -$ openssl x509 -signkey keys/server.key -days 3650 -req \ - -in requests/server.req -out certs/server-self.crt - -# Generating an basic certificate request -$ openssl req -new -subj /CN=personal@example.com -out requests/personal.req \ - -keyout keys/personal.key - -# Creating a PKCS#12 file from key and certificate -openssl pkcs12 -export -in certs/personal.crt -inkey keys/personal.key \ - -certfile certs/ca.crt -name "Example Certificate" \ - -out certs/personal.p12
\ No newline at end of file |