{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/service-fabric-cli/issues/65","repository_url":"https://api.github.com/repos/Microsoft/service-fabric-cli","labels_url":"https://api.github.com/repos/Microsoft/service-fabric-cli/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/service-fabric-cli/issues/65/comments","events_url":"https://api.github.com/repos/Microsoft/service-fabric-cli/issues/65/events","html_url":"https://github.com/Microsoft/service-fabric-cli/issues/65","id":294812656,"node_id":"MDU6SXNzdWUyOTQ4MTI2NTY=","number":65,"title":"\"--no-verify\" option doesn't work","user":{"login":"rganz","id":2776447,"node_id":"MDQ6VXNlcjI3NzY0NDc=","avatar_url":"https://avatars0.githubusercontent.com/u/2776447?v=4","gravatar_id":"","url":"https://api.github.com/users/rganz","html_url":"https://github.com/rganz","followers_url":"https://api.github.com/users/rganz/followers","following_url":"https://api.github.com/users/rganz/following{/other_user}","gists_url":"https://api.github.com/users/rganz/gists{/gist_id}","starred_url":"https://api.github.com/users/rganz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rganz/subscriptions","organizations_url":"https://api.github.com/users/rganz/orgs","repos_url":"https://api.github.com/users/rganz/repos","events_url":"https://api.github.com/users/rganz/events{/privacy}","received_events_url":"https://api.github.com/users/rganz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-06T15:58:51Z","updated_at":"2018-09-06T20:46:41Z","closed_at":"2018-02-07T07:38:47Z","author_association":"NONE","body":"When I try to connect to my cluster on Azure using sfctl I get an error. I assume it is because of the self-signed certificates.\r\n\r\n```\r\nsfctl cluster select --endpoint https://cluster.region.cloudapp.azure.com:19080 --pem ./cluster.pem\r\nError occurred in request., SSLError: HTTPSConnectionPool(host='cluster.region.cloudapp.azure.com', port=19080): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed\r\n```\r\n\r\nThen I pass the `--no-verify` option, I just get another error that this is not recomended. But then nothing happens.\r\n```\r\nsfctl cluster select --endpoint https://cluster.region.cloudapp.azure.com:19080 --pem ./cluster.pem --no-verify\r\nc:\\program files\\python36\\lib\\site-packages\\urllib3\\connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\r\n  InsecureRequestWarning)\r\n```\r\n\r\nI reach the SF Explorer page with Chrome without any problems.\r\ncurl of `https://cluster.region.cloudapp.azure.com:19080` works als well, when I pass the certificate and the `--insecure` option.\r\n\r\nsfctl version is 3.0.0.\r\nsf runtime version is 6.1.456.9494\r\nhosting on Azure"},"comment":{"url":"https://api.github.com/repos/Microsoft/service-fabric-cli/issues/comments/419235711","html_url":"https://github.com/Microsoft/service-fabric-cli/issues/65#issuecomment-419235711","issue_url":"https://api.github.com/repos/Microsoft/service-fabric-cli/issues/65","id":419235711,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTIzNTcxMQ==","user":{"login":"suhuruli","id":31255443,"node_id":"MDQ6VXNlcjMxMjU1NDQz","avatar_url":"https://avatars3.githubusercontent.com/u/31255443?v=4","gravatar_id":"","url":"https://api.github.com/users/suhuruli","html_url":"https://github.com/suhuruli","followers_url":"https://api.github.com/users/suhuruli/followers","following_url":"https://api.github.com/users/suhuruli/following{/other_user}","gists_url":"https://api.github.com/users/suhuruli/gists{/gist_id}","starred_url":"https://api.github.com/users/suhuruli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suhuruli/subscriptions","organizations_url":"https://api.github.com/users/suhuruli/orgs","repos_url":"https://api.github.com/users/suhuruli/repos","events_url":"https://api.github.com/users/suhuruli/events{/privacy}","received_events_url":"https://api.github.com/users/suhuruli/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T20:46:41Z","updated_at":"2018-09-06T20:46:41Z","author_association":"NONE","body":"There are two good pieces of feedback on this thread. \r\n\r\n1) @rganz, brought up a good point of having a message letting users know the connection was successful. \r\n\r\n2) @paolosalvatori, your point of getting rid of that warning is valid. Instead of spamming the user's terminal, we can just display the warning once and then not show it for future commands. "}}
{"actor":{"display_login":"suhuruli"}}