{"id":20071489,"url":"https://github.com/matbme/mqtt-mtls","last_synced_at":"2025-03-02T11:43:41.055Z","repository":{"id":173191851,"uuid":"650366053","full_name":"matbme/MQTT-mTLS","owner":"matbme","description":"No","archived":false,"fork":false,"pushed_at":"2023-06-13T22:56:57.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T23:49:07.799Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/matbme.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}},"created_at":"2023-06-06T23:23:55.000Z","updated_at":"2023-06-07T00:21:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"eade75ce-6d46-4c98-94b8-fb4d54a24426","html_url":"https://github.com/matbme/MQTT-mTLS","commit_stats":null,"previous_names":["matbme/mqtt-mtls"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matbme%2FMQTT-mTLS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matbme%2FMQTT-mTLS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matbme%2FMQTT-mTLS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matbme%2FMQTT-mTLS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matbme","download_url":"https://codeload.github.com/matbme/MQTT-mTLS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241502801,"owners_count":19972957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-13T14:29:34.075Z","updated_at":"2025-03-02T11:43:41.034Z","avatar_url":"https://github.com/matbme.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Certificado de CA, Autoridade Certificadora (preencher as informações, se deixar em branco não gera os arquivos):\n\n```bash\nopenssl req -new -x509 -days 365 -extensions v3_ca -keyout ca.key -out ca.crt\n```\n\nPara rodar o comando acima sem o erro `error Loading extension section v3_ca`, foi necessário no arquivo `/etc/ssl/openssl.cnf`, adicionar:\n\n```\n[ v3_ca ]\nbasicConstraints = critical,CA:TRUE\nsubjectKeyIdentifier = hash\nauthorityKeyIdentifier = keyid:always,issuer:always\n```\n\nGerar certificado de cliente assinado pela CA (preencher as informações, se deixar em branco não gera os arquivos):\n\n```bash\nopenssl req -new -nodes -out client.csr -keyout client.key\nopenssl x509 -req -in client.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out client.crt -days 365\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatbme%2Fmqtt-mtls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatbme%2Fmqtt-mtls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatbme%2Fmqtt-mtls/lists"}