Commit e9b0390
committed
CP-25372: Prefer non-wildcard certificate subjects
In the VDI.get_nbd_info function, when reading a TLS certificate and
choosing a subject from it to include in the return value, avoid
wildcard subjects if possible: return a concrete hostname (DNS name)
if there is one, and a wildcard only as a last resort.
Signed-off-by: Thomas Sanders <[email protected]>1 parent f3d1e38 commit e9b0390
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
1075 | | - | |
| 1075 | + | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
1079 | 1079 | | |
1080 | | - | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
1081 | 1085 | | |
1082 | 1086 | | |
1083 | 1087 | | |
| |||
0 commit comments