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 ¶
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()
}
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.