ThreatMapper icon indicating copy to clipboard operation
ThreatMapper copied to clipboard

UI: Page shows error

Open milan-deepfence opened this issue 2 years ago • 4 comments

Found some possible case that breaks UI.

1 Image

2 Image

3

milan-deepfence avatar Nov 21 '23 14:11 milan-deepfence

I see that sometimes the server restart is causing self signed certificate to change and that is causing ui breaking unrecoverably until you accept the new certificate again.

manV avatar Nov 27 '23 07:11 manV

A server restart should not cause the self signed certificate to change, unless new images were downloaded and those new images have a different self-signed certificate.

@noboruma - Can we fix the build system to use a specific set of self-signed certificates with an option to re-generate it from the UI if needed ?

shyam-dev avatar Dec 04 '23 22:12 shyam-dev

A server restart does not change self signed certificate. Server is fully http based, the TLS layer comes from router (haproxy) In practice, router image is cached and rarely rebuilt (if ever in dev setup). If someone deployed new router image, then yes this error will occur but this is expected.

noboruma avatar Dec 05 '23 02:12 noboruma

In the case of this issue, the router image redeployment was likely the issue. Marking this done for now, we will reopen if issue is seen again.

manV avatar Feb 16 '24 07:02 manV