{"id":25760530,"url":"https://github.com/lucho00cuba/py-mtls","last_synced_at":"2026-06-11T03:31:16.519Z","repository":{"id":165177607,"uuid":"582439538","full_name":"Lucho00Cuba/py-mtls","owner":"Lucho00Cuba","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-27T05:38:44.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-21T03:35:20.096Z","etag":null,"topics":["mtls","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lucho00Cuba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-26T20:55:42.000Z","updated_at":"2024-06-27T05:38:47.000Z","dependencies_parsed_at":"2023-07-08T17:31:28.579Z","dependency_job_id":null,"html_url":"https://github.com/Lucho00Cuba/py-mtls","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lucho00Cuba/py-mtls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucho00Cuba%2Fpy-mtls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucho00Cuba%2Fpy-mtls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucho00Cuba%2Fpy-mtls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucho00Cuba%2Fpy-mtls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lucho00Cuba","download_url":"https://codeload.github.com/Lucho00Cuba/py-mtls/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucho00Cuba%2Fpy-mtls/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34181554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mtls","python"],"created_at":"2025-02-26T18:20:06.593Z","updated_at":"2026-06-11T03:31:16.503Z","avatar_url":"https://github.com/Lucho00Cuba.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proof of Concept: TLS/SSL with Python\n\nThis project demonstrates a basic implementation of Transport Layer Security (TLS) and Secure Socket Layer (SSL) communication using Python scripts. It includes scripts for both a TLS server (`server-tls.py`) and a TLS client (`client-tls.py`), as well as a Makefile (`Makefile`) for automating SSL/TLS certificate management with OpenSSL.\n\n## Usage\n\n### Setting Up the Environment\n\n1. **Install Requirements**: Ensure all dependencies are installed using `pip`:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n2. **Generate Certificates**: Use the Makefile to generate SSL/TLS certificates. Replace \u003cname\u003e with the desired certificate name:\n\n    ```bash\n    make generate_cert NAME=\u003cname\u003e\n    ```\n\n3. **Start Server and Client**: Execute the Python scripts for the TLS server and client:\n\n    ```bash\n    python src/server-tls.py\n    python src/client-tls.py\n    ```\n\n### Cleaning Up\n\n- Clean Certificates: Remove generated certificates for a specific name:\n\n    ```bash\n    make clean NAME=\u003cname\u003e\n    ```\n\n- Clean All: Remove all generated certificates and files:\n\n    ```bash\n    make clean-all\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucho00cuba%2Fpy-mtls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucho00cuba%2Fpy-mtls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucho00cuba%2Fpy-mtls/lists"}