Issue while using Secure Internal Communication
See original GitHub issueHi,
I am trying to set up secure internal communication in presto with below config.properties. But it is throwing 401 unauthorised
. As far as i understand it is happening cause it is asking for authentication from ldap and not able to authenticate itself from it.
Not sure but can we use LDAP and secure internal communication at the same time. I have not seen anything mention in the document itself. https://prestodb.io/docs/current/security/ldap.html https://prestodb.io/docs/current/security/internal-communication.html
coordinator=true
node-scheduler.include-coordinator=true
http-server.http.enabled=false
query.max-memory=5GB
query.max-memory-per-node=1GB
query.max-total-memory-per-node=2GB
node.internal-address=presto-coordinator.xyz.com
http-server.authentication.type=PASSWORD
http-server.https.enabled=true
http-server.https.port=8443
http-server.https.keystore.path=/presto.jks
http-server.https.keystore.key=vikash
discovery-server.enabled=false
discovery.uri=https://presto-coordinator.xyz.com:8443
internal-communication.https.required=true
internal-communication.https.keystore.path=/presto.jks
internal-communication.https.keystore.key=vikash
my password-authenticator.properties
file are below.
password-authenticator.name=ldap
ldap.url=ldaps://ldapserver.xyz.com:636
ldap.user-bind-pattern=uid=${USER},ou=Employees,dc=xyz,dc=com
ldap.user-base-dn=DC=xyz,DC=com
Error Stacktrace are
2018-12-12T15:54:12.400+0530 INFO main com.facebook.presto.server.PrestoServer ======== SERVER STARTED ========
2018-12-12T15:54:12.400+0530 ERROR Announcer-0 io.airlift.discovery.client.Announcer Cannot connect to discovery server for announce: Announcement failed with status code 401:
2018-12-12T15:54:12.400+0530 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 33.49ms. Next request will happen within 0.00s
2018-12-12T15:54:12.408+0530 ERROR Announcer-2 io.airlift.discovery.client.Announcer Service announcement failed after 4.86ms. Next request will happen within 1.00ms
Do not know what i am doing wrong. can somebody help…
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:15 (3 by maintainers)
Top Results From Across the Web
How secure are your internal communication channels?
There are multiple risks jeopardizing your internal communications and private information, which make a costly breach possible. These risks include theft, ...
Read more >7 IT Security Internal Communications Best Practices
Hurt feelings, techspeak, and process errors all lead to compromise. Lack of interdepartmental communication is hurting your IT security.
Read more >Secure Internal Communication (SIC) - Check Point
The two communicating peers authenticate over SSL with the shared Activation Key. The certificate is downloaded securely and stored on the Security Gateway....
Read more >Tackling the dangers of internal communications: What can ...
In this interview for Help Net Security, Devin Redmond, CEO at Theta Lake, talks about the risk of internal communications.
Read more >How to Secure Internal Communication at Your Company
When the company doesn't provide its employees with secure communication solutions, they will go around protocol and use the ones that are readily...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After one and half week banging my head on the wall, i finally made it working by adding below properties under config.properties.
http-server.authentication.type=PASSWORD,CERTIFICATE
@vikash32 - Actually, I don’t think this works. It makes it run but then you can connect over JDBC without the user/password if you have the cert. It’s like either work instead of both are required.