handlers

package
v0.0.0-...-4afbf41 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FinalizeOrder

func FinalizeOrder(w http.ResponseWriter, r *http.Request)

func GetAuthorization

func GetAuthorization(w http.ResponseWriter, r *http.Request)

GetAuthorization retrieves an authorization from the database if available. Otherwise it falls back to a mock authorization.

func GetCertificate

func GetCertificate(w http.ResponseWriter, r *http.Request)

func GetDirectory

func GetDirectory(w http.ResponseWriter, r *http.Request)

func GetOrder

func GetOrder(w http.ResponseWriter, r *http.Request)

GetOrder retrieves an order from the database. For orders that are still pending, it checks their associated authorizations and updates the order status to "ready" if all authorizations are valid. This way Certbot sees a "ready" order and moves on to finalization.

func HealthCheck

func HealthCheck(w http.ResponseWriter, r *http.Request)

func KeyChange

func KeyChange(w http.ResponseWriter, r *http.Request)

func NewAccount

func NewAccount(w http.ResponseWriter, r *http.Request)

func NewNonce

func NewNonce(w http.ResponseWriter, r *http.Request)

func NewOrder

func NewOrder(w http.ResponseWriter, r *http.Request)

func ProcessChallenge

func ProcessChallenge(w http.ResponseWriter, r *http.Request)

ProcessChallenge verifies that the challenge exists and is pending, then simulates validation by updating its status to valid.

func RevokeCertificate

func RevokeCertificate(w http.ResponseWriter, r *http.Request)

func UpdateAccount

func UpdateAccount(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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