Skip to content

Commit

Permalink
Initial files' (ivanpaulovich#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpaulovich authored Sep 21, 2020
1 parent d84ee7e commit f77de1c
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 55 deletions.
41 changes: 20 additions & 21 deletions .docker/https/localhost.crt
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDzjCCAragAwIBAgIJAPi+ReDLm74xMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQwHhcNMjAwOTIwMTcyMDUxWhcNMjEwOTIwMTcyMDUxWjBF
MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAtcBf14NvN9t+uwLztVncXjrWf1jN3R28GYwjkTATVLPkv9+6iu9lLNI1
irEaUlZZdS7PF+451p2Jjse4EtzDlC3wo3+XeGz8mQBjdxiOFOzstyX0nX0W8XKR
AzBg4OQ9PptzTMKCo6sN9wZB42DodiHFtNFn9/FKvCFCfJ3DzPy5hyR8wPHS5c53
aYs1t8dJ4Hdsf92UvJCrqchv7tEuqve7lrdUlTgcXcdQhuNMpz5hDap0TYNk+/Qk
lMhymQ6mrXBBobbasWN4y08jXLeQvPC9QY7EYejzoAXgioUxuuxjbdQoBDucSU/b
khdP5My6dPS/4FLy6dBWyGQ0UdjTRQIDAQABo4HAMIG9MBcGA1UdEQQQMA6CDHdh
bGxldC5sb2NhbDAdBgNVHQ4EFgQUgib1/L4CL+9gVcNUsEe2FlSPtiYwdQYDVR0j
BG4wbIAUgib1/L4CL+9gVcNUsEe2FlSPtiahSaRHMEUxCzAJBgNVBAYTAkFVM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
pV5cjECnBPb93OzocvqY03pvvfIJPZKJOluiqcUaq9byzq3Y3wmccjLYCnVcxegg
oAECAwEAAaOBtjCBszAXBgNVHREEEDAOggx3YWxsZXQubG9jYWwwHQYDVR0OBBYE
FE7r6XmbwiDVDF26vv2FaMEiZATzMGsGA1UdIwRkMGKAFE7r6XmbwiDVDF26vv2F
aMEiZATzoT+kPTA7MRUwEwYDVQQDEwx3YWxsZXQubG9jYWwxFTATBgNVBAoTDHdh
bGxldC5sb2NhbDELMAkGA1UEBhMCVVOCCQCuJvk2Zu0k8DAMBgNVHRMEBTADAQH/
MA0GCSqGSIb3DQEBCwUAA4IBAQCsP9so5myEJ0kzSuVMx8w/hljZh53KbegE0hjT
1NA6oC9GPnYm1DCWPMDru/zGSIvEAJfI5XLNR+zxMCjjXWx4oH8eIzQG0YABAL1N
ewPUXU9wufYCvYGAAwoE/KcKBVgDnsjqhELOFTemg9AVBwfTwCT+IdZgR0KviktT
RSPmanIBBKd6lyrsgVcVU7y3Oab8ctOYmXCaEAnvaIc91d9L1qSymozw/3FgCLVl
xTZhe3uAAGXv1xVr+WF8VS7xbYs1/elLhHECHxZFIKpC+/CncP22bFzMfaP1zKRW
FNDO2x6m8/Wc+n9p3j/gPZC8QoYiUCHq43jT6a8j8SUcqxqV
-----END CERTIFICATE-----
52 changes: 26 additions & 26 deletions .docker/https/localhost.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC1wF/Xg2832367
AvO1WdxeOtZ/WM3dHbwZjCORMBNUs+S/37qK72Us0jWKsRpSVll1Ls8X7jnWnYmO
x7gS3MOULfCjf5d4bPyZAGN3GI4U7Oy3JfSdfRbxcpEDMGDg5D0+m3NMwoKjqw33
BkHjYOh2IcW00Wf38Uq8IUJ8ncPM/LmHJHzA8dLlzndpizW3x0ngd2x/3ZS8kKup
yG/u0S6q97uWt1SVOBxdx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Ibpuhi6tWOXAcKBL0avr6yl/f7cS
zOrWSfXmS0zLzs4//ZMYLjOqH+XfYL/JS/zkaUR5dhyKesIa07uxUowE5cGLsjSE
/w44eU4zCmsLmw3WyBBwJN8+fwKBgQDGAEI0sRSXLD5BEAiqhFv4OlJXfDuBqEGL
VPWmhZItFAvxTN541ix63oU8J1xAwr1cyxpWvWrFuApTFNn/jKCkxJzcmNAFyeFC
TU89y9z3KAteBhz9/O/hnbZIPLoDkJq4gZ9yazvG64YaO0wQ56+lfH9/hdJ/YWmS
sjnzRQ3hfwKBgDyHzTysPBRI/F/f0sU3egYX1Z4gZIms6STi9JKPmxf7YDH79q1F
df8fNFU9W0z7fE8Q6KNhYtglv353lJmO7Aiv9xR3kfit1Bn+iRCClRJ6L4svlCpY
J5rANMuSnBIwhyFqxTVDzRprzGj36Sh4o2qI1sg16OqtDWltdiIyX68XAoGAYc48
5fRXHHnBYrg936U0HQEKLabzag+oGOBl29T9KQFPCOoUtxHstOD4ZYd33ZGUoqK9
Jv24IWTQzMtvB/n6XIm2ho2BrGpVuD+iFf9+7iO8wbw5VAk+oW8bXMGKjTpAA0Yc
chOgWpl7C7gg0fTwYcmG3YJIQZ3n3YvmblG9EpcCgYEAjAEe9ip1QEC4UehtEp4i
mSSlE+yl2Xcc0SYoPzORExsK8jAXigkYMV/8ZG1eXZ1cZ+h0pg8UGi3MpOoHbPie
9xmMaUy+isz8rGPrFEtWVbj5QnJfXhEvURzm0rGwumzaPGJPMmX+OcYGG+WXYO5B
g6kNacMykAygKVCf8aG8La4=
-----END PRIVATE KEY-----
2 changes: 1 addition & 1 deletion .docker/makecert.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
openssl req -x509 -newkey rsa:2048 -keyout https/localhost.key -out https/localhost.crt -days 365 -nodes -config ssl-selfsigned.cnf
openssl req -x509 -newkey rsa:2048 -keyout https/localhost.key -out https/localhost.crt -days 365 -nodes -subj '/CN=wallet.local/O=wallet.local/C=US' -config ssl-selfsigned.cnf
openssl pkcs12 -export -out https/localhost.pfx -inkey https/localhost.key -in https/localhost.crt -name "Localhost selfsigned certificate" -password pass:MyCertificatePassword
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,10 @@ We also support the React client:

## Build & Run

Run the following commands:

Startup the whole solution:
To startup the whole solution, execute the following command:

```sh
cd .docker
./makecert.sh
./trustcert.sh
./startup.sh
cd .docker; ./makecert.sh && ./trustcert.sh && ./startup.sh; popd;
```

Then the following containers should be running `docker ps`:
Expand Down

0 comments on commit f77de1c

Please sign in to comment.