infamousjoeg / cyberark-aam-pkiaas

CyberArk AAM PKI-as-a-Service (CURRENTLY BETA)
Apache License 2.0
5 stars 0 forks source link

Error on deploying a 2nd container with same host/pki-service #95

Closed infamousjoeg closed 4 years ago

infamousjoeg commented 4 years ago

Describe the bug

goroutine 1 [running]:
main.init.0()
    /app/cmd/pkiaas/init.go:33 +0x37e
panic: Error initializing PKI configuration: Failed to initialize configuration for the PKI service. <nil>. Post "https://dap.joegarcia.dev/authn/cyberarkdemo/host%2Fpki-service/authenticate": x509: certificate signed by unknown authority

To Reproduce

  1. Deploy PKIaaS using host/pki-service.
  2. Deploy a 2nd PKIaaS container using the same host/pki-service.

Expected behavior This should skip the initial policy load and not panic.