{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/3698","labels_url":"https://api.github.com/repos/coreos/etcd/issues/3698/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/3698/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/3698/events","html_url":"https://github.com/coreos/etcd/issues/3698","id":111963160,"number":3698,"title":"Private etcd-discovery with ssl","user":{"login":"arpanps","id":12592214,"avatar_url":"https://avatars.githubusercontent.com/u/12592214?v=3","gravatar_id":"","url":"https://api.github.com/users/arpanps","html_url":"https://github.com/arpanps","followers_url":"https://api.github.com/users/arpanps/followers","following_url":"https://api.github.com/users/arpanps/following{/other_user}","gists_url":"https://api.github.com/users/arpanps/gists{/gist_id}","starred_url":"https://api.github.com/users/arpanps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpanps/subscriptions","organizations_url":"https://api.github.com/users/arpanps/orgs","repos_url":"https://api.github.com/users/arpanps/repos","events_url":"https://api.github.com/users/arpanps/events{/privacy}","received_events_url":"https://api.github.com/users/arpanps/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-17T13:26:30Z","updated_at":"2015-10-19T13:30:30Z","closed_at":null,"body":"Can I have private ssl enabled etcd-discovery?\r\n\r\nI tried client to server and peer to peer etcd ssl communication but was not able to work with a ssl enabled etcd-discovery\r\n\r\nI have started discoveryIP with certificates. Added \r\ncurl --cacert ../certs/certs/ca.crt --cert ../certs/certs/node-infra0-client.crt --key ../certs/private/node-infra0-client.key -X PUT https://discovery:2379/v2/keys/_etcd/registry/${ETCD_CLUSTER_UUID_TOKEN}/_config/size -d value=3\r\n\r\nnow while trying to add peer I am getting following error.\r\n\r\n2015-10-17 06:10:23.263736 I | etcdmain: clientTLS: cert = ../certs/certs/node-infra3-client.crt, key = ../certs/private/node-infra3-client.key, ca = ../certs/certs/ca.crt, trusted-ca = , client-cert-auth = false\r\n2015-10-17 06:10:23.265712 I | etcdmain: listening for client requests on https://MYIP:7001\r\n2015-10-17 06:10:23.266622 I | etcdmain: listening for client requests on https://127.0.0.1:7001\r\n2015-10-17 06:10:23.300918 E | discovery: error #0: x509: certificate signed by unknown authority\r\n2015-10-17 06:10:23.300988 I | discovery: cluster status check: error connecting to https://discoveryIP:2379, retrying in 2s\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/149213564","html_url":"https://github.com/coreos/etcd/issues/3698#issuecomment-149213564","issue_url":"https://api.github.com/repos/coreos/etcd/issues/3698","id":149213564,"user":{"login":"arpanps","id":12592214,"avatar_url":"https://avatars.githubusercontent.com/u/12592214?v=3","gravatar_id":"","url":"https://api.github.com/users/arpanps","html_url":"https://github.com/arpanps","followers_url":"https://api.github.com/users/arpanps/followers","following_url":"https://api.github.com/users/arpanps/following{/other_user}","gists_url":"https://api.github.com/users/arpanps/gists{/gist_id}","starred_url":"https://api.github.com/users/arpanps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpanps/subscriptions","organizations_url":"https://api.github.com/users/arpanps/orgs","repos_url":"https://api.github.com/users/arpanps/repos","events_url":"https://api.github.com/users/arpanps/events{/privacy}","received_events_url":"https://api.github.com/users/arpanps/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T13:30:30Z","updated_at":"2015-10-19T13:30:30Z","body":"@raoofm @xiang90 is this documented anywhere? Can you please provide more details. \r\nThanks for prompt answers."}}