tests - add tls checks on common name

This commit is contained in:
florian 2024-01-05 09:37:18 +01:00
parent f843cbda5b
commit b3a5dfeaaa
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500
28 changed files with 101 additions and 51 deletions

View file

@ -7,12 +7,14 @@
{
"type": "string",
"url": "https://app1.example.com",
"string": "authelia"
"string": "authelia",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com",
"string": "authelia"
"string": "authelia",
"tls": "app2.example.com"
}
]
}

View file

@ -7,17 +7,20 @@
{
"type": "string",
"url": "https://app1.example.com/hello",
"string": "app1"
"string": "app1",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com/hello",
"string": "app2"
"string": "app2",
"tls": "app2.example.com"
},
{
"type": "string",
"url": "https://app3.example.com/hello",
"string": "app3"
"string": "app3",
"tls": "app3.example.com"
}
]
}

View file

@ -6,17 +6,20 @@
{
"type": "string",
"url": "https://app1.example.com",
"string": "app1"
"string": "app1",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com",
"string": "app2"
"string": "app2",
"tls": "app2.example.com"
},
{
"type": "string",
"url": "https://app3.example.com",
"string": "app3"
"string": "app3",
"tls": "app3.example.com"
}
]
}

View file

@ -7,22 +7,26 @@
{
"type": "string",
"url": "https://app1.example.com/hello",
"string": "world"
"string": "world",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com/hello",
"string": "world"
"string": "world",
"tls": "app2.example.com"
},
{
"type": "string",
"url": "https://app1.example.com/app1",
"string": "app1"
"string": "app1",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com/app2",
"string": "app2"
"string": "app2",
"tls": "app2.example.com"
}
]
}

View file

@ -8,7 +8,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "drupal"
"string": "drupal",
"tls": "www.example.com"
}
]
}

View file

@ -7,7 +7,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "ghost"
"string": "ghost",
"tls": "www.example.com"
}
]
}

View file

@ -8,7 +8,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "gogs"
"string": "gogs",
"tls": "www.example.com"
}
]
}

View file

@ -6,7 +6,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "hello"
"string": "hello",
"tls": "www.example.com"
}
]
}

View file

@ -7,7 +7,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "joomla"
"string": "joomla",
"tls": "www.example.com"
}
]
}

View file

@ -7,32 +7,38 @@
{
"type": "string",
"url": "https://app1.example.com/hello",
"string": "hello"
"string": "hello",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com/hello",
"string": "hello"
"string": "hello",
"tls": "app2.example.com"
},
{
"type": "string",
"url": "https://app3.example.com/hello",
"string": "hello"
"string": "hello",
"tls": "app3.example.com"
},
{
"type": "string",
"url": "https://app1.example.com/app1",
"string": "app1"
"string": "app1",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com/app2",
"string": "app2"
"string": "app2",
"tls": "app2.example.com"
},
{
"type": "string",
"url": "https://app3.example.com/app3",
"string": "app3"
"string": "app3",
"tls": "app3.example.com"
}
]
}

View file

@ -7,17 +7,20 @@
{
"type": "string",
"url": "https://app1.example.com",
"string": "hello"
"string": "hello",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com",
"string": "hello"
"string": "hello",
"tls": "app2.example.com"
},
{
"type": "string",
"url": "https://app3.example.com",
"string": "hello"
"string": "hello",
"tls": "app3.example.com"
}
]
}

View file

@ -7,7 +7,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "hello"
"string": "hello",
"tls": "www.example.com"
}
]
}

View file

@ -7,7 +7,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "mattermost"
"string": "mattermost",
"tls": "www.example.com"
}
]
}

View file

@ -8,7 +8,8 @@
{
"type": "status",
"url": "https://www.example.com",
"status": 401
"status": 401,
"tls": "www.example.com"
}
]
}

View file

@ -7,7 +7,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "moodle"
"string": "moodle",
"tls": "www.example.com"
}
]
}

View file

@ -8,7 +8,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "nextcloud"
"string": "nextcloud",
"tls": "www.example.com"
}
]
}

View file

@ -6,7 +6,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "passbolt"
"string": "passbolt",
"tls": "www.example.com"
}
]
}

View file

@ -6,12 +6,14 @@
{
"type": "string",
"url": "https://app1.example.com",
"string": "app1"
"string": "app1",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com",
"string": "app2"
"string": "app2",
"tls": "app2.example.com"
}
]
}

View file

@ -6,7 +6,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "hello"
"string": "hello",
"tls": "www.example.com"
}
]
}

View file

@ -7,7 +7,8 @@
{
"type": "string",
"url": "https://www.example.com/administration",
"string": "prestashop"
"string": "prestashop",
"tls": "www.example.com"
}
]
}

View file

@ -7,7 +7,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "radarr"
"string": "radarr",
"tls": "www.example.com"
}
]
}

View file

@ -7,7 +7,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "redmine"
"string": "redmine",
"tls": "www.example.com"
}
]
}

View file

@ -7,12 +7,14 @@
{
"type": "string",
"url": "https://app1.example.com",
"string": "hello"
"string": "hello",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com",
"string": "hello"
"string": "hello",
"tls": "app2.example.com"
}
]
}

View file

@ -8,12 +8,14 @@
{
"type": "string",
"url": "https://www.example.com/app1",
"string": "hello"
"string": "hello",
"tls": "www.example.com"
},
{
"type": "string",
"url": "https://www.example.com/app2",
"string": "hello"
"string": "hello",
"tls": "www.example.com"
}
]
}

View file

@ -6,32 +6,38 @@
{
"type": "string",
"url": "https://app1.example.com/app1",
"string": "app1"
"string": "app1",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com/app2",
"string": "app2"
"string": "app2",
"tls": "app2.example.com"
},
{
"type": "string",
"url": "https://app3.example.com/app3",
"string": "app3"
"string": "app3",
"tls": "app3.example.com"
},
{
"type": "string",
"url": "https://app1.example.com/hello",
"string": "hello"
"string": "hello",
"tls": "app1.example.com"
},
{
"type": "string",
"url": "https://app2.example.com/hello",
"string": "hello"
"string": "hello",
"tls": "app2.example.com"
},
{
"type": "string",
"url": "https://app3.example.com/hello",
"string": "hello"
"string": "hello",
"tls": "app3.example.com"
}
]
}

View file

@ -6,7 +6,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "tomcat"
"string": "tomcat",
"tls": "www.example.com"
}
]
}

View file

@ -8,7 +8,8 @@
{
"type": "string",
"url": "https://www.example.com",
"string": "wordpress"
"string": "wordpress",
"tls": "www.example.com"
}
]
}

View file

@ -47,7 +47,7 @@ try:
"-days",
"3650",
"-subj",
"/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/",
"/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=www.example.org/",
],
stdin=DEVNULL,
stderr=DEVNULL,