DefinedNet / mobile_nebula

Brings nebula to mobile devices (iOS, Android)
https://defined.net
123 stars 37 forks source link

Hide CA expiration errors on managed sites #128

Closed johnmaguire closed 1 year ago

johnmaguire commented 1 year ago

Fixes #123.

This ended up being a bit tricky to test since I can't get the prod API to send down an expired cert. Instead I used the "Bad Site" button to create a site with an expired CA and inverted the managed logic. This isn't a perfect test because

This removes the error which shows up on the main screen, as well as the one inside the Site Configuration page. It does not remove the indicator when you drill down into the CA itself.

Screenshot 2023-05-17 at 11 32 30 AM Screenshot 2023-05-17 at 11 32 34 AM

The nebula configTest should pass as long as there is at least one valid CA in the bundle and the host certificate is unexpired.