| 1 |
old expired CA overlapping a new CA using template connections and groundhog |
| 2 |
|
| 3 |
(using templates avoids bug #1006 where the CA doesn't switch with |
| 4 |
<peer>id=%fromcert) |
| 5 |
|
| 6 |
East has one template connection with <peer>id=%fromcert and |
| 7 |
groundhog=yes: |
| 8 |
|
| 9 |
- new-ca is valid (for 12 months starting 2 months ago, it is used |
| 10 |
to sign new-west |
| 11 |
|
| 12 |
- old-ca that expires in a month, it uses that to sign old-west that |
| 13 |
is still valid |
| 14 |
|
| 15 |
West similarly has two connections: |
| 16 |
|
| 17 |
- new-west: tries to prove its identity using new-west certificate |
| 18 |
(i.e., to the connection new-ca) |
| 19 |
|
| 20 |
- old-west: tries to prove its identity using old-west certificate |
| 21 |
(i.e., to the connection old-ca) |
| 22 |
|
| 23 |
EAST rejects this since the CA has expired |
| 24 |
|
| 25 |
since groundhog=yes is set, EAST retries authentication using the |
| 26 |
time that old-ca expired; this works |