Hello everyone. I need help by certification. I have 3 Servers and 1 Client and on the Server side i become the following error:
"agent.server.rpc: failed to read byte: conn=from= error="remote error: tls: bad certificate"
Server Config :
{
“server”: true,
“bootstrap_expect” : 3,
“data_dir”: “”,
“client_addr” :“0.0.0.0”,
“datacenter”: “dc2”,
“ui”: true,
“ports” : {
“https” : 8501,
“http” : -1
},
“addresses”: {
“http”: “0.0.0.0”
},
“verify_incoming”: false,
“verify_outgoing”: true,
“verify_server_hostname”: true,
“ca_file”: “_local.pem”,
“cert_file”: “_local.pem”,
“key_file”: “.local.key”,
“auto_encrypt”: {
“allow_tls”: true
},
“log_level”: “INFO”,
“disable_update_check”: true,
“disable_anonymous_signature”: true
}
Client Config:
{
“server”: false,
“data_dir”: “”,
“ui”: true,
“retry_join”: ["…", “…”, “…”],
“bind_addr”:“IpAddress (example)”,
“datacenter”: “dc2”,
“log_level”: “INFO”,
“ports”: {
“http” : -1,
“https” : 8501
},
“auto_encrypt” :{
“tls” : true
},
“disable_update_check”: true,
“disable_anonymous_signature”: true,
“verify_outgoing”: true,
“verify_incoming”: false,
“verify_server_hostname”: true,
“ca_file”: “_local.pem”
}
What can i do to secure the consul cluster ? After using a https i cannot join members in cluster?
Best regards