Configure AuthService with SSL
Hi,
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
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)
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
Ricardo
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
CERT_PATH=/etc/ssl/certs
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
Ricardo
- rfernandez2007
- Posts: 25
- Joined: Mon Nov 29, 2021 2:40 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest