Commit dd1d398
committed
RestServer: use the full certificate chain
... instead of just the leaf.
Without this, verification of the ssl connection will fail in browsers
which do not have the intermediaries in their cache.
To verify run MajordomoRest_example in a directory containing a valid
certificate chain in `demo_public.crt` and corresponding key in
`demo_private.key` and then run
`openssl s_client -showcerts -connect localhost:8080` and observe that
the full chain is present instead of just the leaf.
Signed-off-by: Alexander Krimm <[email protected]>1 parent bfbb343 commit dd1d398
File tree
3 files changed
+50
-21
lines changed- src
- majordomo/include/majordomo
- rest/include/rest
3 files changed
+50
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
242 | 249 | | |
243 | 250 | | |
244 | 251 | | |
| |||
2211 | 2218 | | |
2212 | 2219 | | |
2213 | 2220 | | |
2214 | | - | |
| 2221 | + | |
2215 | 2222 | | |
2216 | 2223 | | |
2217 | 2224 | | |
| |||
2231 | 2238 | | |
2232 | 2239 | | |
2233 | 2240 | | |
2234 | | - | |
| 2241 | + | |
2235 | 2242 | | |
2236 | 2243 | | |
2237 | 2244 | | |
| |||
2241 | 2248 | | |
2242 | 2249 | | |
2243 | 2250 | | |
2244 | | - | |
| 2251 | + | |
2245 | 2252 | | |
2246 | 2253 | | |
2247 | 2254 | | |
| |||
2253 | 2260 | | |
2254 | 2261 | | |
2255 | 2262 | | |
2256 | | - | |
| 2263 | + | |
2257 | 2264 | | |
2258 | 2265 | | |
2259 | 2266 | | |
| |||
2269 | 2276 | | |
2270 | 2277 | | |
2271 | 2278 | | |
2272 | | - | |
| 2279 | + | |
2273 | 2280 | | |
2274 | 2281 | | |
2275 | 2282 | | |
| |||
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
232 | 241 | | |
233 | 242 | | |
234 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
90 | 97 | | |
91 | | - | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | | - | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | | - | |
| 104 | + | |
98 | 105 | | |
99 | | - | |
100 | | - | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
104 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
105 | 118 | | |
106 | | - | |
| 119 | + | |
107 | 120 | | |
108 | 121 | | |
109 | | - | |
| 122 | + | |
110 | 123 | | |
111 | 124 | | |
112 | 125 | | |
| |||
0 commit comments