lecot

package module
v0.0.0-...-a310525 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2025 License: BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Overview

Let's Encrypt - Chain of Trust - see https://letsencrypt.org/certificates/

Index

Examples

Constants

This section is empty.

Variables

View Source
var ISRG_Root_X1 []byte
View Source
var ISRG_Root_X1_E7_Cross_Signed []byte
View Source
var ISRG_Root_X1_E8_Cross_Signed []byte
View Source
var ISRG_Root_X1_E9_Cross_Signed []byte
View Source
var ISRG_Root_X1_R12 []byte
View Source
var ISRG_Root_X1_R13 []byte
View Source
var ISRG_Root_X1_R14 []byte
View Source
var ISRG_Root_X2 []byte
View Source
var ISRG_Root_X2_E7 []byte
View Source
var ISRG_Root_X2_E8 []byte
View Source
var ISRG_Root_X2_E9 []byte

Functions

func Pool

func Pool() *x509.CertPool

Pool returns a pointer to a CA certificate pool that contains root and intermediate certificates of the Let's Encrypt - Chain of Trust.

Example
package main

import (
	"crypto/tls"
	"log"

	"catinello.eu/lecot"
)

func main() {
	conn, err := tls.Dial("tcp", "example.net:443", &tls.Config{
		RootCAs: lecot.Pool(),
	})
	if err != nil {
		log.Fatal(err)
	}
	defer conn.Close()
}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL