lecot

package module
v0.0.0-...-2781b8f Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: BSD-3-Clause Imports: 2 Imported by: 1

README

Let's Encrypt - Chain of Trust | Certificates to populate your CA-CertPool.

EXAMPLES
--------

Create a new CertPool and add all certificates for your application.

  caCertPool := x509.NewCertPool()
  caCertPool.AppendCertsFromPEM(Lets_Encrypt_R3)
  caCertPool.AppendCertsFromPEM(ISRG_Root_X1)

Or use lecot.Pool() directly:

  // adjust default http config
  http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{RootCAs: lecot.Pool()}

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var ISRG_Root_X1 []byte
View Source
var ISRG_Root_X1_E5_Cross_Signed []byte
View Source
var ISRG_Root_X1_E6_Cross_Signed []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_R10 []byte
View Source
var ISRG_Root_X1_R11 []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_X1_R3 []byte
View Source
var ISRG_Root_X2 []byte
View Source
var ISRG_Root_X2_Cross_Signed []byte
View Source
var ISRG_Root_X2_E1 []byte
View Source
var ISRG_Root_X2_E5 []byte
View Source
var ISRG_Root_X2_E6 []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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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