http01

package
v0.0.5-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(port, keyAuth string)

Sets up a new httpx challenge by starting an HTTP server to handle http-01 challenges on the port number specified in the challenge type. For example, httpx-8080 serves the http-01 challenge on port 8080.

func Shutdown

func Shutdown()

func Verify

func Verify(
	resolver *net.Resolver,
	ca ca.CertificateAuthority,
	domain, port, challengeToken, expectedKeyAuth string) error

Verifies an http-01 challenge on the specified port by sending a GET request to the challenge URL and ensuring the key authorization presented matches the expected value. Implements acme.ChallengeVerifierFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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