{"action":"created","issue":{"url":"https://api.github.com/repos/logstash/logstash-logback-encoder/issues/57","labels_url":"https://api.github.com/repos/logstash/logstash-logback-encoder/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/logstash/logstash-logback-encoder/issues/57/comments","events_url":"https://api.github.com/repos/logstash/logstash-logback-encoder/issues/57/events","html_url":"https://github.com/logstash/logstash-logback-encoder/issues/57","id":48708987,"number":57,"title":"Custom Certificate for SSLLogstashTcpSocketAppender","user":{"login":"mdedetrich","id":2337269,"avatar_url":"https://avatars.githubusercontent.com/u/2337269?v=3","gravatar_id":"","url":"https://api.github.com/users/mdedetrich","html_url":"https://github.com/mdedetrich","followers_url":"https://api.github.com/users/mdedetrich/followers","following_url":"https://api.github.com/users/mdedetrich/following{/other_user}","gists_url":"https://api.github.com/users/mdedetrich/gists{/gist_id}","starred_url":"https://api.github.com/users/mdedetrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdedetrich/subscriptions","organizations_url":"https://api.github.com/users/mdedetrich/orgs","repos_url":"https://api.github.com/users/mdedetrich/repos","events_url":"https://api.github.com/users/mdedetrich/events{/privacy}","received_events_url":"https://api.github.com/users/mdedetrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/logstash/logstash-logback-encoder/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-13T23:24:43Z","updated_at":"2015-02-04T07:43:30Z","closed_at":"2015-02-04T07:43:30Z","body":"Recently, the `SSLLogstashTcpSocketAppender` (https://github.com/logstash/logstash-logback-encoder/blob/master/src/main/java/net/logstash/logback/appender/SSLLogstashTcpSocketAppender.java) was added, however it seems that you are unable to set a keystore (or cert file) non programatically using an `XML` config, without having to mess with the global keystore (which would obviously break other `SSL` connections) for the java app.\r\n\r\nNote that this may be a documentation issue (I am fairly new in regards to how to configure stuff non programatically with Java), however it seems that typically speaking, web apps that require you to configure a key for a specific connection require you to explicitly specify cert details for that connection (in this case, you would need a config specifically for `SSLLogstashTcpSocketAppender` where you specify your keytool, keypass etc etc). If its not a documentation issue, then the `SSLLogstashTcpSocketAppender` seems fairly useless for most use cases, as typically speaking people use self signed certificates to log over SSL.\r\n\r\nThere is also a stack overflow for this issue posted here http://stackoverflow.com/questions/26906029/setting-up-jetty-runner-with-custom-cert-in-docker-build-file"},"comment":{"url":"https://api.github.com/repos/logstash/logstash-logback-encoder/issues/comments/72804314","html_url":"https://github.com/logstash/logstash-logback-encoder/issues/57#issuecomment-72804314","issue_url":"https://api.github.com/repos/logstash/logstash-logback-encoder/issues/57","id":72804314,"user":{"login":"philsttr","id":7027966,"avatar_url":"https://avatars.githubusercontent.com/u/7027966?v=3","gravatar_id":"","url":"https://api.github.com/users/philsttr","html_url":"https://github.com/philsttr","followers_url":"https://api.github.com/users/philsttr/followers","following_url":"https://api.github.com/users/philsttr/following{/other_user}","gists_url":"https://api.github.com/users/philsttr/gists{/gist_id}","starred_url":"https://api.github.com/users/philsttr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philsttr/subscriptions","organizations_url":"https://api.github.com/users/philsttr/orgs","repos_url":"https://api.github.com/users/philsttr/repos","events_url":"https://api.github.com/users/philsttr/events{/privacy}","received_events_url":"https://api.github.com/users/philsttr/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T07:43:30Z","updated_at":"2015-02-04T07:43:30Z","body":"Implemented for version 4.1 (not released yet).\r\nSee the new README.md for how to customize."}}