{"id":25900643,"url":"https://github.com/manu-sh/berserk_tls","last_synced_at":"2026-06-08T00:32:10.663Z","repository":{"id":198658831,"uuid":"230723879","full_name":"Manu-sh/berserk_tls","owner":"Manu-sh","description":"client/server pair - openssl - mutal TLS authentication (mTLS)","archived":false,"fork":false,"pushed_at":"2024-11-27T12:41:46.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-27T13:26:08.836Z","etag":null,"topics":["client-server","mtls-authentication","openssl","ssl-duplex-authentication"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Manu-sh.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}},"created_at":"2019-12-29T08:31:33.000Z","updated_at":"2024-11-27T12:41:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"175037e6-79cc-48ff-9513-a2e40a7316be","html_url":"https://github.com/Manu-sh/berserk_tls","commit_stats":null,"previous_names":["manu-sh/berserk_tls"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manu-sh%2Fberserk_tls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manu-sh%2Fberserk_tls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manu-sh%2Fberserk_tls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manu-sh%2Fberserk_tls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Manu-sh","download_url":"https://codeload.github.com/Manu-sh/berserk_tls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241596263,"owners_count":19988045,"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":["client-server","mtls-authentication","openssl","ssl-duplex-authentication"],"created_at":"2025-03-03T02:17:57.185Z","updated_at":"2025-11-29T01:11:43.675Z","avatar_url":"https://github.com/Manu-sh.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# berserk_tls\n\n#### generate key.pem \u0026 cert.pem\nyou can read more [here](https://www.digitalocean.com/community/tutorials/openssl-essentials-working-with-ssl-certificates-private-keys-and-csrs#generate-a-self-signed-certificate)\n\n`openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out crt.pem`\n\n\n#### server\nuse an openssl server to test the client\n\n`openssl s_server -cert crt.pem -key key.pem -port 5000 -CAfile crt.pem -verify_return_error -Verify 1`\n\n#### client\nuse an openssl client to test the server\n\n`openssl s_client -cert crt.pem -key key.pem -CAfile crt.pem -connect localhost:5000`\n\n`curl -k --cert crt.pem --key key.pem https://localhost:5000/sad`\n\n##### the first (testing ssl) is most important\n- https://stackoverflow.com/questions/21050366/testing-ssl-tls-client-authentication-with-openssl\n- https://stackoverflow.com/questions/17024769/openssl-client-not-sending-client-certificate\n\n##### other resources\n- https://knowledge.digicert.com/tutorials/create-pem-file-for-tls-ssl-certificate-installations\n\n\n###### Copyright © 2024, [Manu-sh](https://github.com/Manu-sh), s3gmentationfault@gmail.com. Released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanu-sh%2Fberserk_tls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanu-sh%2Fberserk_tls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanu-sh%2Fberserk_tls/lists"}