Tue Aug 16, 2022 9:20 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.

Configure AuthService with SSL

Questions around writing code and queries

Wed Apr 27, 2022 10:42 pm Change Time Zone

I'm trying to configure AuthService and I would like to use SSL.

I'm not sure about what to put in the nginx configuration file: nginx.conf.template

Code: Select all
  ssl on;
  ssl_certificate <cert_path.pem>;
  ssl_certificate_key <cert_path.key>;

As per documentation: https://github.com/hpcc-systems/Auth-Service

For SSL, provide CERT_PATH value and update nginx config, go to client/nginx/conf.d/nginx.conf.template fill in coresponding values on line 4 and 5.

I've already created a key-pair that resides in the keys folder of the AuthService project. (this is a previous step in the installation but in the documentation it is not related to the SSL configuration)
Is that the path I'm supposed to use? or do I have to generate a different "certificate"?

Also, in the .env file there is the following: (which I'm not sure if/how it relates to the other instructions)
Code: Select all
#SSL Cert locations

Finally, it would help a lot to have an example of how this path looks like in a working nginx configuration file (to eliminate doubts about if it is relative, absolute, includes the key name, and that sort of things)

Thank you very much!!
Warm regards
Posts: 25
Joined: Mon Nov 29, 2021 2:40 pm

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest