product-microgateway
product-microgateway copied to clipboard
Infinite loop between Adapater and Router when the cert given to the router is unavailable
Description:
When
- a cert file path or
- a inline cert file
is provided to the router by the adapter
- if the file cannot be found (not mounted or different name) or
- the format is not supported (expected pem found der)
the adapter and router runs in a continuous loop. Following log is for the scenario when the inline cert is not in a supported format.
NOTE: Cert type checks already exists for interceptor and backend certs. Yet, there can be other scenarios that this could occur.
Steps to reproduce:
Affected Product Version:
Environment details (with versions):
- OS:
- Client:
- Env (Docker/K8s):