-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recreate certs for SSL example configs #866
Open
gbirchmeier
wants to merge
1
commit into
connamara:master
Choose a base branch
from
gbirchmeier:new-certs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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 | ||
AiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALzcuXwP0zE2T4WMQhGM2j8c | ||
eJRZRCm0VeGnYZsOuHC2X+krhNm2hEuUecB+F3fohIJFCccQgyoqIQw6ET1GBEy0 | ||
B/u+HoxkpISepV23xY7gog96YaUX1l6N7+f/XwCrZE03AGl/kVeIO6tDvQCQNfKK | ||
+e9Yk8A0qKKG+K9aN84oQEubJdjmFnrhqa10s/DrUxP14pKWChWDLJQAdpZip+KS | ||
Vmyn1bF9evwsxIz9Nrk9/XcMRYujpgNiuhjbM8jNZouhzbqha6LATpPFa74cffeI | ||
dZEJx4ZKoOEqANCz76rbZ0bq+wh/zuOka+0Y5PX3iUlvneHMNj4RfSElDn6vN9Px | ||
5WOgZIIFaGj8rlXndIsPD2hyEx34TJwqLpf4urHi6OCo4G7AdDhoeV7vuwVgcdco | ||
7vdg8BM3UEAOoqKQ+XwE0HBivWHE0PCJE4EcU5HocBXKasviQD8Kqv0qkGfIx+5v | ||
hLYdLmWs7fb8DXqbYIds2Yu0caVzd553BYv7PtRX3iafDkFxW1Y3QT1YwL1SAW9Z | ||
EXy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pBDEiw= | ||
-----END CERTIFICATE----- |
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need
SSLCheckCertificateRevocation=N
in this config