[core] Device certificates: device_certs host field; edge config v3 and Caddy client_authentication with a CA bundle and an allow list, 403 without a certificate
This commit is contained in:
@@ -145,6 +145,23 @@
|
||||
{
|
||||
"handler": "subroute",
|
||||
"routes": [
|
||||
{
|
||||
"handle": [
|
||||
{
|
||||
"handler": "static_response",
|
||||
"status_code": 403
|
||||
}
|
||||
],
|
||||
"match": [
|
||||
{
|
||||
"vars": {
|
||||
"{http.request.tls.client.fingerprint}": [
|
||||
""
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"handle": [
|
||||
{
|
||||
@@ -465,6 +482,35 @@
|
||||
}
|
||||
],
|
||||
"tls_connection_policies": [
|
||||
{
|
||||
"client_authentication": {
|
||||
"ca": {
|
||||
"pem_files": [
|
||||
"/var/lib/ianitor/certs/domi-devices-ca.pem"
|
||||
],
|
||||
"provider": "file"
|
||||
},
|
||||
"mode": "verify_if_given",
|
||||
"verifiers": [
|
||||
{
|
||||
"leaf_certs_loaders": [
|
||||
{
|
||||
"files": [
|
||||
"/var/lib/ianitor/certs/domi-devices.pem"
|
||||
],
|
||||
"loader": "file"
|
||||
}
|
||||
],
|
||||
"verifier": "leaf"
|
||||
}
|
||||
]
|
||||
},
|
||||
"match": {
|
||||
"sni": [
|
||||
"status.example.org"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"certificate_selection": {
|
||||
"any_tag": [
|
||||
|
||||
Reference in New Issue
Block a user