-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Auto PFX generation, .net 6 Program.cs, docker ready
- Loading branch information
1 parent
3be6704
commit 8af1e89
Showing
53 changed files
with
373 additions
and
814 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.
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 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICrzCCAZcCFAWxMLTPB0q8Ora4PRrIRz2KwZUEMA0GCSqGSIb3DQEBCwUAMBQx | ||
EjAQBgNVBAMMCWxvY2FsaG9zdDAeFw0yMjA0MDQwMzEzMDNaFw0yNzA0MDMwMzEz | ||
MDNaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcNAQEBBQADggEP | ||
ADCCAQoCggEBAMSAbs5JB+0mZL1etOSClVSVSe5OnRzzd3jXI1v0uD++3LLFAbOh | ||
KwKAvLC/fnn5bonhrlpr6wH+3JziGDdW0kknO1OvJGoXdosIZTT6OcBvl/O/q+5F | ||
agvQiA7aXuE12DT9JA3JjMGoOd+0Q+6dwXiFE3q9RgmvoOHmzZVm/2E9g+WAAU9m | ||
Uqks5CD2NXI3xokiArMeMkFxYV6od4AswtDMx8YQseDTh87NB+r2RfubJ8xpYYNe | ||
OyEOzXto6UVUEPvOau/wwxO/urSbPkkjvy0aeysrTCY2LUE1wbPiPp0HpowYiEJU | ||
or4mEbI+YgD5ydXitNheGxdLGcBPjV+AuAECAwEAATANBgkqhkiG9w0BAQsFAAOC | ||
AQEAbmrIDyYQdgwSfP3qYc2DNpExjln+jOmnIH7kSqdMzV48KzBf3/Si50Y8IvMt | ||
+wDN2z77OjhttePC4+kdUVmjRzGVktly+1gLb++fJVvZqT0wV6Ui8SE7xRqA/oL6 | ||
bUqkjHKgrL6VuSj0ruJ5X++Ue0hXBxM+e4O4Umt6qfj2t5IcO0t+slxeO6Cyo1u/ | ||
ZHzy7DDxOXExeEJ48xI1E8lVp7dxDT7Gm92vfhKzkvF6YGMlXCoiFDjYFd07d+8D | ||
xofnYUD507nkNz60IRGWtEHzpBCONrAykCeBnEX0gB05O/BG+NrLSSCdYLS4DmkU | ||
4cpVtbQ1VbeoGhfxFuE1syVwKQ== | ||
-----END CERTIFICATE----- |
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,15 @@ | ||
-----BEGIN CERTIFICATE REQUEST----- | ||
MIICWTCCAUECAQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0B | ||
AQEFAAOCAQ8AMIIBCgKCAQEAxIBuzkkH7SZkvV605IKVVJVJ7k6dHPN3eNcjW/S4 | ||
P77cssUBs6ErAoC8sL9+efluieGuWmvrAf7cnOIYN1bSSSc7U68kahd2iwhlNPo5 | ||
wG+X87+r7kVqC9CIDtpe4TXYNP0kDcmMwag537RD7p3BeIUTer1GCa+g4ebNlWb/ | ||
YT2D5YABT2ZSqSzkIPY1cjfGiSICsx4yQXFhXqh3gCzC0MzHxhCx4NOHzs0H6vZF | ||
+5snzGlhg147IQ7Ne2jpRVQQ+85q7/DDE7+6tJs+SSO/LRp7KytMJjYtQTXBs+I+ | ||
nQemjBiIQlSiviYRsj5iAPnJ1eK02F4bF0sZwE+NX4C4AQIDAQABoAAwDQYJKoZI | ||
hvcNAQELBQADggEBAEYYlcxafY3+Dx9vbbSpQRRh7iHPMQwUOdB3d3+XOK7Fh/N0 | ||
6LXVJBiNzQIprcM4LzatFXnTcCjjJc7WsLMK8ZzH+by3npUijQGA6Ns75J5erIQl | ||
4r9WB5THGFONZOFazSBGWesWB1Oq1me7CK92C+TnOn7OIp8TSV+qT2iNHqgPnFRb | ||
e2UayAiKg3EiVw4f0WpYT+CgbBONgjtfvnL+e01LH4XTCgeI2ppkRv+lQM1EhBhx | ||
6Dl/DdCmqnA+IE+7GcrdMHut/QBSYxrita19sXxotlznpwjbfPjUSd2veUgPtHS5 | ||
Ed8b2FmNViNRoDGA1vMbXlS5bf8XMMr+7NQmjls= | ||
-----END CERTIFICATE REQUEST----- |
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,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEpAIBAAKCAQEAxIBuzkkH7SZkvV605IKVVJVJ7k6dHPN3eNcjW/S4P77cssUB | ||
s6ErAoC8sL9+efluieGuWmvrAf7cnOIYN1bSSSc7U68kahd2iwhlNPo5wG+X87+r | ||
7kVqC9CIDtpe4TXYNP0kDcmMwag537RD7p3BeIUTer1GCa+g4ebNlWb/YT2D5YAB | ||
T2ZSqSzkIPY1cjfGiSICsx4yQXFhXqh3gCzC0MzHxhCx4NOHzs0H6vZF+5snzGlh | ||
g147IQ7Ne2jpRVQQ+85q7/DDE7+6tJs+SSO/LRp7KytMJjYtQTXBs+I+nQemjBiI | ||
QlSiviYRsj5iAPnJ1eK02F4bF0sZwE+NX4C4AQIDAQABAoIBAQCVHPD40SqWp3/i | ||
xC95CC7RlMgZcsZ+5bJPnNJUQYxfszI+5oi4CyFcMNz/MxGC9ekP8JYiP6qCRSic | ||
VGYT+Gpy4LaAdnOnnk5yithiL1AL26LvcQ/DLCGg/YmB2+wL8pQzAbWOUNfjTQk9 | ||
3MmAFW5vSmzRwzeWuhPX2RFAwnwhCPzbkHhv4mTc47xkskQRaY2gCxOZiqaRdOpD | ||
V/VaDk7TsnsK7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----END RSA PRIVATE KEY----- |
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 @@ | ||
version: "3" | ||
|
||
services: | ||
|
||
genpfx: | ||
image: emberstack/openssl | ||
container_name: genpfx | ||
volumes: | ||
- ./certs:/certs:rw | ||
command: > | ||
sh -c "[ -e "./certs/devstore.academy.localhost" ] && echo File Already exist || openssl genrsa -out devstore.rsa 2048 && | ||
openssl req -sha256 -new -key devstore.rsa -out devstore.csr -subj '/CN=localhost' && | ||
openssl x509 -req -sha256 -days 1825 -in devstore.csr -signkey devstore.rsa -out devstore.crt && | ||
openssl pkcs12 -export -out /certs/devstore.academy.localhost -inkey devstore.rsa -in devstore.crt -password pass:9HoGMnb7Lu8NFdHBz4Vq2rtKivzMhmMXhtvuB4TZcLMmbWfFmDQCjJeLURAJ4GYe" | ||
volumes: | ||
certs: |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.