{"action":"opened","issue":{"url":"https://api.github.com/repos/mailgun/vulcand/issues/148","labels_url":"https://api.github.com/repos/mailgun/vulcand/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/mailgun/vulcand/issues/148/comments","events_url":"https://api.github.com/repos/mailgun/vulcand/issues/148/events","html_url":"https://github.com/mailgun/vulcand/issues/148","id":53214524,"number":148,"title":"tls listener","user":{"login":"porjo","id":1296987,"avatar_url":"https://avatars.githubusercontent.com/u/1296987?v=3","gravatar_id":"","url":"https://api.github.com/users/porjo","html_url":"https://github.com/porjo","followers_url":"https://api.github.com/users/porjo/followers","following_url":"https://api.github.com/users/porjo/following{/other_user}","gists_url":"https://api.github.com/users/porjo/gists{/gist_id}","starred_url":"https://api.github.com/users/porjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porjo/subscriptions","organizations_url":"https://api.github.com/users/porjo/orgs","repos_url":"https://api.github.com/users/porjo/repos","events_url":"https://api.github.com/users/porjo/events{/privacy}","received_events_url":"https://api.github.com/users/porjo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-01T06:48:02Z","updated_at":"2015-01-01T06:48:02Z","closed_at":null,"body":"I'm trying to get TLS working with v0.8.x but not having much luck (I did have it working with prior version).\r\n\r\nThese are the config steps I've taken:\r\n\r\n```\r\netcdctl set /vulcand/listeners/ls1/ '{\"Protocol\":\"https\", \"Address\":{\"Network\":\"tcp\", \"Address\":\":8183\"}}'\r\netcdctl set /vulcand/hosts/host1.com/keypair 'sealed key here'\r\n```\r\n\r\nAfter that vulcand would fail on startup with this message:\r\n\r\n```\r\nJan 01 06:25:46 bris01 docker[22882]: Service exited with error: service start failure: 100: Key not found (/vulcand-bris01/hosts/host1.com/host\r\n```\r\n\r\nCreating an empty key seemed to fix that:\r\n```\r\netcdctl set /vulcand/hosts/host1.com/host '{\"Settings\": {}}'\r\n```\r\n\r\nIs that necessary??\r\n\r\nNow vulcand starts OK and is listening on port `8183` however is not handling TLS connections.\r\n\r\nAttempting to update the `host` key while vulcand is running results in a panic:\r\n\r\n```\r\nJan 01 06:43:39 bris01 docker[23187]: Jan  1 06:43:39.316: INFO PID:1 [mux.go:224] mux(2, active) UpsertHost Host(host1.com)\r\nJan 01 06:43:39 bris01 docker[23187]: panic: runtime error: invalid memory address or nil pointer dereference\r\nJan 01 06:43:39 bris01 docker[23187]: [signal 0xb code=0x1 addr=0x0 pc=0x572e2b]\r\nJan 01 06:43:39 bris01 docker[23187]: goroutine 104 [running]:\r\nJan 01 06:43:39 bris01 docker[23187]: runtime.panic(0x847c40, 0xb25593)\r\nJan 01 06:43:39 bris01 docker[23187]: /usr/lib/golang/src/pkg/runtime/panic.c:279 +0xf5\r\nJan 01 06:43:39 bris01 docker[23187]: github.com/mailgun/vulcand/proxy.(*srv).upsertKeyPair(0xc2080a4000, 0xc208286706, 0xc, 0x0, 0x0, 0x0)\r\nJan 01 06:43:39 bris01 docker[23187]: src/github.com/mailgun/vulcand/proxy/srv.go:105 +0x15b\r\n```"}}