{"action":"opened","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5308","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5308/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5308/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5308/events","html_url":"https://github.com/hazelcast/hazelcast/issues/5308","id":76550712,"number":5308,"title":"Hazelcast and Stunnel for own SSL","user":{"login":"hariprasanth1234","id":9037699,"avatar_url":"https://avatars.githubusercontent.com/u/9037699?v=3","gravatar_id":"","url":"https://api.github.com/users/hariprasanth1234","html_url":"https://github.com/hariprasanth1234","followers_url":"https://api.github.com/users/hariprasanth1234/followers","following_url":"https://api.github.com/users/hariprasanth1234/following{/other_user}","gists_url":"https://api.github.com/users/hariprasanth1234/gists{/gist_id}","starred_url":"https://api.github.com/users/hariprasanth1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hariprasanth1234/subscriptions","organizations_url":"https://api.github.com/users/hariprasanth1234/orgs","repos_url":"https://api.github.com/users/hariprasanth1234/repos","events_url":"https://api.github.com/users/hariprasanth1234/events{/privacy}","received_events_url":"https://api.github.com/users/hariprasanth1234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-15T01:34:36Z","updated_at":"2015-05-15T01:34:36Z","closed_at":null,"body":"Hi all,\r\n\r\nI made a study on stunnel and configured the stunnel server on hazelcast server port.\r\n    1. Installed the stunnel in my environment\r\n    2. Created the self signed certificate and private key using OpenSSL and added them in stunnel pem file.\r\n    3. Added the corresponding Stunnel Client and Stunnel Server config in the following format\r\n                    Stunnel Client                                             Stunnel Server\r\n                           8000               -------------------->                    9999\r\n\r\n                    Stunnel Server                                              Hazelcast Server\r\n                           9999               -------------------->                    5701\r\n                Where,\r\n                            8000 - Some unused port\r\n                            9999 - Some unused port\r\n                            5701 - Hazelcast Server\r\n                When I do netstat, Am able to see all the process properly running,\r\n\r\n                           tcp        0      0 127.0.0.1:8000          0.0.0.0:*               LISTEN      25914/stunnel4          -   Stunnel Client\r\n                           tcp        0      0 127.0.0.1:9999          0.0.0.0:*               LISTEN      25914/stunnel4          -   Stunnel Server\r\n                           tcp6       0      0 :::5701                 :::*                    LISTEN      30716/java                       -   Hazelcast Server\r\n\r\n    4. As per the documentation,\r\n                When I want to connect to the destination server, I want to connect via Stunnel client, So I used the corresponding stunnel client port  (Configured as port 8000)  in hazelcast client connection. \r\n\r\nIt is instead of connecting to 5701 directly, I want to connect to stunnel client via port 8000 as https://192.168.X.X:8000, but when I do that via hazelcast client It does some address validation and shows Unable to connect to server error.  Since address not resolved. \r\n\r\nIs there a way to use our own ssl in hazelcast. Am in a situation of not able to buy a hazelcast enterprise version. please do the needfull. Hazelcast ppl please create a way for me."}}