{ "info": { "author": "Patrik Sk\u0159iv\u00e1nek", "author_email": "kriegsmarine1995@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# sslexp\n#### check a state of your ssl certificates simply and cleverly\n\n![version](https://img.shields.io/badge/version-1.0.1-brightgreen)\n[![Build Status](https://travis-ci.org/patrikskrivanek/ssl_expiration.svg?branch=master)](https://travis-ci.org/patrikskrivanek/ssl_expiration)\n[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/patrikskrivanek/ssl_expiration.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/patrikskrivanek/ssl_expiration/context:python)\n[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)\n[![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)\n\nThis program checks the expiration date of an ssl certificate.\nFirst set the url param that should contain the url address of a domain.\nThe program returns a message and a status code based on a measurement result.\n\n### Installation\n```bash\n# using pip\npip install sslexp\n\n# or if you are running multiple versions of python such as 2.7.x and 3.x \npip3 install sslexp\n\n# from source using git clone\ngit clone https://github.com/patrikskrivanek/ssl_expiration.git\n\n# from source using wget\nwget https://github.com/patrikskrivanek/ssl_expiration/blob/master/sslexp\n```\n\n### Documentation\nArgument | Description | Required\n------------ | ------------- | -------------\n--url | URL of an ssl certificate for check | yes\n--warning | Number of days for warning output | no *[default 30]*\n--critical | Number of days for critical output | no *[default 20]*\n--version | Show program version | optional\n-h --help | Show program help and usage | optional\n\nStatus | Exit code | \n------------ | -------------\nSTATE_OK | 0\nSTATE_WARNING | 1\nSTATE_CRITICAL | 2\nSTATE_UNKNOWN | 3\n\n### Examples\n```bash\n# check an ssl cert of github\nsslexp --url github.com\n\n# check the cert with your own warning and critical params\nsslexp --url github.com --warning 5 --critical 3\n\n# show program help\nsslexp --help\n\n# show program version\nsslexp --version\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/patrikskrivanek/ssl_expiration/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/patrikskrivanek/ssl_expiration", "keywords": "ssl certificate check", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "sslexp", "package_url": "https://pypi.org/project/sslexp/", "platform": "", "project_url": "https://pypi.org/project/sslexp/", "project_urls": { "Download": "https://github.com/patrikskrivanek/ssl_expiration/releases", "Homepage": "https://github.com/patrikskrivanek/ssl_expiration" }, "release_url": "https://pypi.org/project/sslexp/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "A Python utility for checking states of ssl certificates", "version": "1.0.1" }, "last_serial": 5691128, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b02107c35c5c2c11eade1e8ba078cac2", "sha256": "c1278e00bcbe2285bc52868e835f01cab5ef8ff0c1cc2d83debab71bcea2da29" }, "downloads": -1, "filename": "sslexp-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b02107c35c5c2c11eade1e8ba078cac2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3608, "upload_time": "2019-08-16T08:19:10", "url": "https://files.pythonhosted.org/packages/7e/8a/c3e6e1b5fe276e0ce9b39c4af6b1e5920302af9ca12814e58ce25bf4f11a/sslexp-1.0.0-py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c4ec0afc3cf6cedbe086cf4daf6baffb", "sha256": "ac699fd0925d7bd948020efd7f3980aa8b9f098931b0bb99a7fd964a4e351830" }, "downloads": -1, "filename": "sslexp-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c4ec0afc3cf6cedbe086cf4daf6baffb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4355, "upload_time": "2019-08-17T09:33:24", "url": "https://files.pythonhosted.org/packages/fc/2f/afdee57585c87986fbe14ab0b98adae865f5817b4ffd214b2cb3585eeb62/sslexp-1.0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4ec0afc3cf6cedbe086cf4daf6baffb", "sha256": "ac699fd0925d7bd948020efd7f3980aa8b9f098931b0bb99a7fd964a4e351830" }, "downloads": -1, "filename": "sslexp-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c4ec0afc3cf6cedbe086cf4daf6baffb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4355, "upload_time": "2019-08-17T09:33:24", "url": "https://files.pythonhosted.org/packages/fc/2f/afdee57585c87986fbe14ab0b98adae865f5817b4ffd214b2cb3585eeb62/sslexp-1.0.1-py3-none-any.whl" } ] }