# denji/golang-tls

Simple Golang HTTPS/TLS Examples

Repository: https://github.com/denji/golang-tls
Canonical: https://ross.abutalabs.com/products/golang-tls
Homepage: https://git.io/vSvsI
License: CC0-1.0
License Family: permissive
Topics: http2, https-server, https, httpclient, golang, go, openssl, libressl, awesome, tools, security-hardening, security-tools, security-audit, security-scanner, secure, security
Last push: 2020-11-20T20:01:23+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3456, "days_push": 2112, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1330, forks 157 (observed 2026-08-28T04:04:24.007819+00:00)

## What it is
A curated collection of simple, copy-paste Go examples for HTTPS/TLS servers and clients, including OpenSSL commands for generating RSA/ECDSA keys and self-signed certificates. It is documentation-style reference material rather than an installable library.

## Use cases
- set up a simple HTTPS server in Go
- generate a self-signed certificate with OpenSSL
- write a TLS client and server in Go
- configure TLS with ECDSA keys in Go
- enable HTTP/2 on a Go HTTPS server
- load X509 key pairs in Go

## When to choose
- you need quick, working TLS/HTTPS snippets for Go
- you want reference commands for generating keys and certificates
- you are learning how crypto/tls works in Go

## When to avoid
- you need a production TLS termination proxy or managed certificate automation
- you need a maintained library with API guarantees and support
- you need non-Go language examples

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: security, http-server, http-client, developer-tools
- domain: security, web-development, developer-tools, networking
- platform: go, cross-platform
- tags: tls, https, openssl, code-examples, golang, self-signed-certificates, http2

## Member repositories
- denji/golang-tls (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:24.007819+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:45:30.910084+00:00, confidence not recorded.
  - readme: https://github.com/denji/golang-tls (fetched 2026-08-28T04:04:24.007819+00:00, sha 2aa97f6a25a9)
  - homepage: https://git.io/vSvsI (fetched 2026-08-29T12:04:56.669957+00:00, sha 6b03882d5a47)
- Data as of 2026-08-30T08:39:29.467469+00:00.
