-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d0a5ed
commit 2eb8d82
Showing
13 changed files
with
84 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
################### | ||
# Generate CA cert | ||
# (may not need SAN here) | ||
|
||
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 \ | ||
-nodes -keyout quickfixn-CA.demo.key -out quickfixn-CA.demo.cer -subj "/CN=quickfixn-CA.demo" \ | ||
-addext "subjectAltName=DNS:localhost,IP:127.0.0.1" | ||
|
||
|
||
# I'm using "qfnpass123" for all passwords | ||
|
||
openssl pkcs12 -export -out quickfixn-CA.demo.pfx -inkey quickfixn-CA.demo.key -in quickfixn-CA.demo.cer | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
################### | ||
# Generate Server cert | ||
|
||
openssl req -new -nodes -newkey rsa:4096 \ | ||
-keyout qfn-server.demo.key \ | ||
-out qfn-server.demo.csr \ | ||
-subj "/CN=qfn-server.demo" \ | ||
-addext "subjectAltName=DNS:localhost,IP:127.0.0.1" \ | ||
-addext "extendedKeyUsage=serverAuth" | ||
|
||
openssl x509 -req -in qfn-server.demo.csr -CA quickfixn-CA.demo.cer -CAkey quickfixn-CA.demo.key \ | ||
-CAcreateserial -out qfn-server.demo.cer -days 3650 -sha256 -copy_extensions copy | ||
|
||
openssl pkcs12 -export -out qfn-server.demo.pfx -inkey qfn-server.demo.key -in qfn-server.demo.cer | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
################### | ||
# Generate Client cert | ||
|
||
openssl req -new -nodes -newkey rsa:4096 \ | ||
-keyout qfn-client.demo.key \ | ||
-out qfn-client.demo.csr \ | ||
-subj "/CN=qfn-client.demo" \ | ||
-addext "subjectAltName=DNS:localhost,IP:127.0.0.1" \ | ||
-addext "extendedKeyUsage=clientAuth" | ||
|
||
openssl x509 -req -in qfn-client.demo.csr -CA quickfixn-CA.demo.cer -CAkey quickfixn-CA.demo.key \ | ||
-CAcreateserial -out qfn-client.demo.cer -days 3650 -sha256 -copy_extensions copy | ||
|
||
openssl pkcs12 -export -out qfn-client.demo.pfx -inkey qfn-client.demo.key -in qfn-client.demo.cer | ||
|
||
|
||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIFNTCCAx2gAwIBAgIUYOHtQANN5RgxdpEA/CCSoH6jspQwDQYJKoZIhvcNAQEL | ||
BQAwHDEaMBgGA1UEAwwRcXVpY2tmaXhuLUNBLmRlbW8wHhcNMjQwNzA5MTYwODQ2 | ||
WhcNMzQwNzA3MTYwODQ2WjAcMRowGAYDVQQDDBFxdWlja2ZpeG4tQ0EuZGVtbzCC | ||
AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgo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