Alero Remote Access Connector Error: Self signed SSL Certificate connecting to alero.eu

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Alero Remote Access Connector Error: Self signed SSL Certificate connecting to alero.eu

L0 Member

Hello all,

 

Hope all of you are doing fine.

 

We are currently installing CyberArk Alero Remote Access. We are following this documentation to make the installation. The docker image that we are using is the latest one:

 

 

The installation went fine and all is running ok, but we have a problem related to certificates. Our installation is running behind a proxy that is presenting an internal certificate for all the external servers we try to access. The problem is usually solved adding the proxy servers certificates in the CA store (bundle, cacerts, etc).

 

The error we get is the following one:

2022-10-27 14:09:35.320 INFO 7 --- [ Thread-15] N.s.nginx-output : 2022/10/27 14:09:35 [error] 346#346: *36 [lua] openidc.lua:577: openidc_discover(): accessing discovery url (https://auth.alero.eu/auth/realms/users/.well-known/openid-configuration) failed: 19: self signed certificate in certificate chain, client: 127.0.0.1, server: uat-pvwa.******.app.alero.**, request: "GET /PasswordVault/ HTTP/1.1", host: "uat-pvwa.*******.app.alero.**", referrer: "https://portal.alero.eu/"

I have faced this problem in other tools and "mounting a volume" with the CA certificate was enough to solve it or adding the proxy CA certificates into the container, but without modifying the docker image wont be possible to solve this. So far, I tried the following:

  • Mount the certificate in the docker main certificate path /etc/ssl/certs/ca-certificates.pem without success.
  • I checked the Alero Nginx configuration in the internal docker and I found that in all the files there is a commented area to include a ca bundle. This will be the perfect solution, but it is not possible to mount the certificate in the specified path and modify the Nginx configuration because the code comes from CyberArk. The previous is actually a solution for this technology. The access to the ca bundle in the Nginx is commented in the following files:
    • ./tmp/alero/openresty/config/nginx_stream.config
    • ./tmp/alero/openresty/config/nginx_http.config
    • ./tmp/alero/openresty/config/nginx.config
#ssl_trusted_certificate /tmp/alero/openresty/cert/ca_bundle.crt; ssl_certificate /tmp/alero/openresty/cert/certificate.crt; ssl_certificate_key /tmp/alero/openresty/cert/private.key; ssl_dhparam /tmp/alero/openresty/cert/dhparam.pem;
  • In the container there are a mount point in /alero/logs and /alero/app.

 

My question:

  • Is there a way to add a CA bundle in the Nginx without modifying the container? Maybe with an environment variable or adding it in the /alero/app folder? Even if I wanted to modify the container, I don't have access to the Alero Remote Access code.

 

Other option would be to allow direct access from our internal Alero Remote Access server to the external service located in uat-pvwa.********.app.alero.**, but for security reasons this is not recommended and we are trying to avoid that option.

 

Do you think there is any other option?

 

Thanks a lot in advance,

Best regards,

 

 

 

3 REPLIES 3

L5 Sessionator

Hi @Daniel Cano​ 

 

Thank you for submitting this question to the Technical Community!

 

As this question was not answered by the community for some time now, could you kindly share if you could resolve this issue and how?

If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.

 

Thanks,

Gil

L2 Linker

Hello @Daniel Cano​ , I am also getting this exact error. I wanted to check with you if you were able to resolve this issue? If so, could you please share how you were able to resolve it?

Hi All,

 

Anyone got the solution or Answer for the same

  • 1177 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!