-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
12 changed files
with
25 additions
and
18 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
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,2 @@ | ||
export OAUTH_PROXY_CA_CERT=/config/oauth/oauth-proxy/ca_oauth-proxy_certificate.pem | ||
export OAUTH_PROXY_URL=https://proxy:9092/realms/test |
This file was deleted.
Oops, something went wrong.
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,2 @@ | ||
export KEYCLOAK_URL=https://localhost:8443/realms/test | ||
#export OAUTH_PROVIDER_URL=https://localhost:8443/realms/test | ||
export KEYCLOAK_CA_CERT=selenium/test/oauth/keycloak/ca_keycloak_certificate.pem |
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,2 @@ | ||
export OAUTH_PROXY_CA_CERT=selenium/test/oauth/oauth-proxy/ca_oauth-proxy_certificate.pem | ||
export OAUTH_PROXY_URL=https://localhost:9092/realms/test |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 |
---|---|---|
|
@@ -49,7 +49,7 @@ ServerRoot "/usr/local/apache2" | |
# prevent Apache from glomming onto all bound IP addresses. | ||
# | ||
#Listen 12.34.56.78:80 | ||
Listen 9090 | ||
Listen 9092 | ||
|
||
# | ||
# Dynamic Shared Object (DSO) Support | ||
|
@@ -238,7 +238,7 @@ ServerAdmin [email protected] | |
# | ||
# If your host doesn't have a registered DNS name, enter its IP address here. | ||
# | ||
ServerName ${PUBLIC_RABBITMQ_HOST} | ||
ServerName oauth-proxy | ||
|
||
# | ||
# Deny access to the entirety of your server's filesystem. You must | ||
|
@@ -502,10 +502,16 @@ SSLRandomSeed startup builtin | |
SSLRandomSeed connect builtin | ||
</IfModule> | ||
|
||
<VirtualHost *:9090> | ||
ServerName "proxy" | ||
<VirtualHost *:9092> | ||
ServerName "oauth-proxy" | ||
ProxyRequests On | ||
ProxyVia On | ||
SSLProxyEngine On | ||
SSLProxyVerify require | ||
SSLProxyVerifyDepth 10 | ||
|
||
SSLProxyCACertificateFile /etc/httpd/conf/certs/ca.pem | ||
|
||
<Proxy "*"> | ||
Allow from all | ||
</Proxy> | ||
|
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,5 @@ | ||
auth_oauth2.issuer = ${OAUTH_PROVIDER_URL} | ||
auth_oauth2.https.cacertfile = ${OAUTH_PROXY_CA_CERT} | ||
auth_oauth2.proxy = ${OAUTH_PROXY_URL} | ||
#auth_oauth2.proxy_username = ${OAUTH_PROXY_USERNAME} | ||
#auth_oauth2.proxy_password = ${OAUTH_PROXY_PASSWORD} |