---
title: "gh2o/bash_tls: A minimal TLS 1.2 client implementation in a pure Bash script"
url: https://daily.dev/posts/gh2o-bash-tls-a-minimal-tls-1-2-client-implementation-in-a-pure-bash-script-poifcvfij
source_url: https://github.com/gh2o/bash_tls/
type: article
source: "Lobsters"
published: 2024-05-09T17:25:38.887Z
updated: 2024-05-09T17:25:37.839Z
tags: ["security", "bash"]
reading_time: 1
upvotes: 2
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# gh2o/bash_tls: A minimal TLS 1.2 client implementation in a pure Bash script

**[Lobsters](https://daily.dev/sources/lobsters)** · 1 min read · 2 upvotes · 2 comments

## Summary

A minimal TLS 1.2 implementation in a pure Bash script that can make HTTPS requests to web servers with support for a single cipher suite and server name indication. It depends on bash, GNU bc, and sha256sum or shasum.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/gh2o/bash_tls/>

## Community discussion

Top comments from developers on daily.dev.

**@kripi\_png** · 0 upvotes

> Bash syntax is what you think programming looks like to non-programmers while writing js or python.
>
> Anyway, I kinda wish I knew how to write it.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#bash](https://daily.dev/tags/bash)

[View this post on daily.dev](https://daily.dev/posts/gh2o-bash-tls-a-minimal-tls-1-2-client-implementation-in-a-pure-bash-script-poifcvfij)
