-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #558 from finos/546-https-support
feat: add https support #546
- Loading branch information
Showing
9 changed files
with
149 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIFnzCCA4egAwIBAgIUP3XfqkVZwn6ZnCf31tWzsbzFNM0wDQYJKoZIhvcNAQEL | ||
BQAwXzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAk5ZMREwDwYDVQQHDAhOZXcgWW9y | ||
azEOMAwGA1UECgwFRklOT1MxDDAKBgNVBAsMA0NUSTESMBAGA1UEAwwJbG9jYWxo | ||
b3N0MB4XDTI0MDUxMDEyNTQ1NFoXDTM0MDUwODEyNTQ1NFowXzELMAkGA1UEBhMC | ||
VVMxCzAJBgNVBAgMAk5ZMREwDwYDVQQHDAhOZXcgWW9yazEOMAwGA1UECgwFRklO | ||
T1MxDDAKBgNVBAsMA0NUSTESMBAGA1UEAwwJbG9jYWxob3N0MIICIjANBgkqhkiG | ||
9w0BAQEFAAOCAg8AMIICCgKCAgEAssWStMgVaIWJBgUH+bhjoIzbgDXBcxco4k0r | ||
xEft+YXMtDv5wFWGBFfmbS8o7aOj7ENvJBgDy4OOy6r5zOJH/K4ZpJSwCAzEKsy6 | ||
K8ymN/ZvcnF24HsYy8j6t3QM59T1RfdZAHN35VaLm0qzZwI/sE4JDybdHN1rkkrZ | ||
8+EAgGjgO1vBm4p0tlWYFgA4MPC/eKo8sT+8lmlr5vHKeDjr7ojW74SV8YB1RPma | ||
YiVIR82EBvKUaZnsYS6XZfa1B6WTqWENuMpTcandsYRBWvDITuGn2PgGyTmsEZpm | ||
QtUuVGq9PGnOIAlvEKmgbSGOe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NJFBY1K3N2fRyBVxBdYqPnVKHhXlIu0c7u8Gk881trqtcq5YXvA6HvPGtMODqiLg | ||
sMUlLt9o4q34s8QohlOD6FjWiDCyThxaMVMgo1kPiIb07iWTfyErPNu+DXx13fCp | ||
M21hYqRlIXqnO1Hwjfaj0H5P5CbOdXrRhhMOtazeVfQX3WuXkdzIhhlYXGRIPRXj | ||
+wvB | ||
-----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,6 @@ | ||
#! /bin/bash | ||
|
||
# Generates a self-signed certificate used for the SSL Certificate used by the Git Proxy HTTPS endpoint | ||
|
||
# The certificate expires in 10 years (9 May 2034) | ||
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/C=US/ST=NY/L=New York/O=FINOS/OU=CTI/CN=localhost" |
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,52 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQCyxZK0yBVohYkG | ||
BQf5uGOgjNuANcFzFyjiTSvER+35hcy0O/nAVYYEV+ZtLyjto6PsQ28kGAPLg47L | ||
qvnM4kf8rhmklLAIDMQqzLorzKY39m9ycXbgexjLyPq3dAzn1PVF91kAc3flVoub | ||
SrNnAj+wTgkPJt0c3WuSStnz4QCAaOA7W8GbinS2VZgWADgw8L94qjyxP7yWaWvm | ||
8cp4OOvuiNbvhJXxgHVE+ZpiJUhHzYQG8pRpmexhLpdl9rUHpZOpYQ24ylNxqd2x | ||
hEFa8MhO4afY+AbJOawRmmZC1S5Uar08ac4gCW8QqaBtIY57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+HLu4oLWBXn+BYju7t4YvnbKnEvlvkTsdu//d26j6nAdA1hglq5wYBBIJvROI | ||
g+S8+Ltu7PPRrObSoMnyBkfKm7mlcvj8/RJqOr0CggEAGWH5+UEsadXoe6n6Fein | ||
I3wxzmsCSjxrDfIIbYlXf/aRg5cgQ05nl4OxILPYf1hd75iI9t5T/WUPmD17Dz7x | ||
HJ2s3xkU/t3N/tttzmZeDKBUFnRxj55OZdFu54Ds8Xe9ddLbFBq4rPzVSqXZBzAe | ||
L19erynOZFpCPnGUobWrnO3DXaz3JX5sBjrXpWRVbzptbDgvP39PKO+psvYIVOYa | ||
4DQW7G2iGROA7iwWg6WFHu/Moq4ZJZpxz/uyZmosuj51N2paoaPLTyvsB4rTFi6/ | ||
h/q6d6EOCVm9udZL29xYWroeqItz08eCs1pkgoaHqiwbOxQ68GnpWUJmfT64KaPR | ||
pQKCAQEAs30ltPK8nwAMf24invkkPAZ0574lkty2LTZQppQnp47L+IqMUAj2XLD3 | ||
B91Ww8ADkUuulyyItRyuMTpzV65RogLrY4RPBFOQj1XfCKh7zAjuj2I3ycCT+59U | ||
9n2KVlxa/cklUSwfqUIn6L/naGMnl+lGdSA/jiHJoeIb6t5hbXNmPhuMcUHDaQfb | ||
6iHyYj69AxmTxNbwX19kuta/zPFSkWuMeb/TFOMW5AcaSf2RbHXjY9ulDPTtKAjF | ||
eTX6ySlV6g2xxZnASYPWJLrUZtFpTWG4JBeSemxPN8oqhLSQdpjip57om2iLqc4+ | ||
JHu4PGii4YIS1gGXOCviXYD0VZi3eQ== | ||
-----END 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const { GIT_PROXY_SERVER_PORT = 8000, GIT_PROXY_UI_PORT = 8080 } = process.env; | ||
const { GIT_PROXY_SERVER_PORT = 8000, GIT_PROXY_HTTPS_SERVER_PORT = 8443, GIT_PROXY_UI_PORT = 8080 } = process.env; | ||
|
||
exports.Vars = { GIT_PROXY_SERVER_PORT, GIT_PROXY_UI_PORT }; | ||
exports.Vars = { GIT_PROXY_SERVER_PORT, GIT_PROXY_HTTPS_SERVER_PORT, GIT_PROXY_UI_PORT }; |
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
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