All microservices fail to start except Keyvault
Symptoms
- All microservices except Keyvault fail to start
- Files nginx. and nginx-internal. missing from /etc/nginx/ssl/
- Many logs show errors, e.g.
KEYVAULT [ERROR] 401 PERMISSION_DENIED Basic Authentication missing
AUTH [FATAL] Get https://localhost/keyvault/api/v1/passphrase/****: x509: certificate signed by unknown authority
Solution
Log on the PrivX server as root and run the following commands:
/opt/privx/scripts/init_nginx.sh update-trust /etc/nginx/ssl/nginx.crt
systemctl restart privx
systemctl restart nginx