mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-30 09:27:19 +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
|
@ -49,7 +49,8 @@ func TestGetCertificateForDomain(t *testing.T) {
|
|||
if !assert.NoError(t, err) {
|
||||
return
|
||||
}
|
||||
assert.Equal(t, &certs[0], found)
|
||||
assert.NotNil(t, found)
|
||||
assert.NotEqual(t, &certs[0], found)
|
||||
})
|
||||
t.Run("generate", func(t *testing.T) {
|
||||
certs := []tls.Certificate{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue