{"action":"created","issue":{"url":"https://api.github.com/repos/smurfix/flask-script/issues/157","repository_url":"https://api.github.com/repos/smurfix/flask-script","labels_url":"https://api.github.com/repos/smurfix/flask-script/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/smurfix/flask-script/issues/157/comments","events_url":"https://api.github.com/repos/smurfix/flask-script/issues/157/events","html_url":"https://github.com/smurfix/flask-script/issues/157","id":147044363,"number":157,"title":"Using ssl_key & ssl_cert options (instead of ssl_context) throws an error","user":{"login":"philfreo","id":97612,"avatar_url":"https://avatars.githubusercontent.com/u/97612?v=3","gravatar_id":"","url":"https://api.github.com/users/philfreo","html_url":"https://github.com/philfreo","followers_url":"https://api.github.com/users/philfreo/followers","following_url":"https://api.github.com/users/philfreo/following{/other_user}","gists_url":"https://api.github.com/users/philfreo/gists{/gist_id}","starred_url":"https://api.github.com/users/philfreo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philfreo/subscriptions","organizations_url":"https://api.github.com/users/philfreo/orgs","repos_url":"https://api.github.com/users/philfreo/repos","events_url":"https://api.github.com/users/philfreo/events{/privacy}","received_events_url":"https://api.github.com/users/philfreo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-08T21:32:01Z","updated_at":"2016-08-04T13:59:50Z","closed_at":null,"body":"According to [the code](https://github.com/smurfix/flask-script/blob/0143ed4390f613d29c2622f1e0ad71ab4918e782/flask_script/commands.py#L374-L376) you should be able to pass `ssl_key` and `ssl_crt` to `Server`, instead of building & passing the `ssl_context` tuple. However because you don't `pop` these from kwargs an error is caused:\r\n\r\n```\r\n./manage.py runserver\r\nTraceback (most recent call last):\r\n  File \"./manage.py\", line 902, in <module>\r\n    manager.run()\r\n  File \"proj/venv/lib/python2.7/site-packages/flask_script/__init__.py\", line 412, in run\r\n    result = self.handle(sys.argv[0], sys.argv[1:])\r\n  File \"proj/venv/lib/python2.7/site-packages/flask_script/__init__.py\", line 383, in handle\r\n    res = handle(*args, **config)\r\n  File \"proj/venv/lib/python2.7/site-packages/flask_script/commands.py\", line 425, in __call__\r\n    **self.server_options)\r\n  File \"proj/venv/lib/python2.7/site-packages/flask/app.py\", line 739, in run\r\n    run_simple(host, port, self, **options)\r\nTypeError: <flask_script.commands.Server object at 0x112a8db50>: run_simple() got an unexpected keyword argument 'ssl_key'\r\n```\r\n\r\ntested with Flask 0.9"},"comment":{"url":"https://api.github.com/repos/smurfix/flask-script/issues/comments/237561366","html_url":"https://github.com/smurfix/flask-script/issues/157#issuecomment-237561366","issue_url":"https://api.github.com/repos/smurfix/flask-script/issues/157","id":237561366,"user":{"login":"jeffwidman","id":483314,"avatar_url":"https://avatars.githubusercontent.com/u/483314?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffwidman","html_url":"https://github.com/jeffwidman","followers_url":"https://api.github.com/users/jeffwidman/followers","following_url":"https://api.github.com/users/jeffwidman/following{/other_user}","gists_url":"https://api.github.com/users/jeffwidman/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffwidman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffwidman/subscriptions","organizations_url":"https://api.github.com/users/jeffwidman/orgs","repos_url":"https://api.github.com/users/jeffwidman/repos","events_url":"https://api.github.com/users/jeffwidman/events{/privacy}","received_events_url":"https://api.github.com/users/jeffwidman/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T13:59:50Z","updated_at":"2016-08-04T13:59:50Z","body":"Bump @VladimirPal "}}
{"actor":{"display_login":"jeffwidman"}}