All microservices fail to start except Keyvault

Symptoms

  1. All microservices except Keyvault fail to start
  2. Files nginx. and nginx-internal. missing from /etc/nginx/ssl/
  3. 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

Did this page help you?