mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 01:09:36 +02:00
tls: fallback to self-signed certificate (#2760)
* tls: fallback to self-signed certificate * remove unknown domain because certs are no longer valid * update multi-deployment to use service-specific certificates
This commit is contained in:
parent
9b3d574d48
commit
ca48052551
14 changed files with 46 additions and 80 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,6 @@ func TestHealth(t *testing.T) {
|
|||
"https://authenticate.localhost.pomerium.io",
|
||||
"https://httpdetails.localhost.pomerium.io",
|
||||
"https://restricted-httpdetails.localhost.pomerium.io",
|
||||
"https://unknown.localhost.pomerium.io",
|
||||
}
|
||||
endpoints := []string{"healthz", "ping"}
|
||||
|
||||
|
|
|
@ -102,7 +102,6 @@ local Environment(mode, idp, dns_suffix) =
|
|||
DATABROKER_SERVICE_URL: 'https://pomerium-databroker:5443',
|
||||
GRPC_ADDRESS: ':5443',
|
||||
GRPC_INSECURE: 'false',
|
||||
OVERRIDE_CERTIFICATE_NAME: '*.localhost.pomerium.io',
|
||||
} else if mode == 'traefik' then {
|
||||
FORWARD_AUTH_URL: 'https://forward-authenticate.localhost.pomerium.io',
|
||||
} else if mode == 'nginx' then {
|
||||
|
@ -141,6 +140,8 @@ function(mode, idp, dns_suffix='') {
|
|||
image: image,
|
||||
environment: environment {
|
||||
SERVICES: 'authorize',
|
||||
CERTIFICATE: std.base64(importstr '../files/pomerium-authorize.pem'),
|
||||
CERTIFICATE_KEY: std.base64(importstr '../files/pomerium-authorize-key.pem'),
|
||||
},
|
||||
ports: [
|
||||
'9904:9901/tcp',
|
||||
|
@ -161,6 +162,8 @@ function(mode, idp, dns_suffix='') {
|
|||
image: image,
|
||||
environment: environment {
|
||||
SERVICES: 'databroker',
|
||||
CERTIFICATE: std.base64(importstr '../files/pomerium-databroker.pem'),
|
||||
CERTIFICATE_KEY: std.base64(importstr '../files/pomerium-databroker-key.pem'),
|
||||
},
|
||||
ports: [
|
||||
'9902:9901/tcp',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue