Apache HTTPD
Classes | Typedefs | Functions
md_acme_drive.h File Reference

Go to the source code of this file.

Classes

struct  md_acme_driver_t
 

Typedefs

typedef struct md_acme_driver_t md_acme_driver_t
 

Functions

apr_status_t md_acme_drive_set_acct (struct md_proto_driver_t *d, struct md_result_t *result)
 
apr_status_t md_acme_drive_setup_cred_chain (struct md_proto_driver_t *d, struct md_result_t *result)
 
apr_status_t md_acme_drive_cert_poll (struct md_proto_driver_t *d, int only_once)
 

Typedef Documentation

◆ md_acme_driver_t

Function Documentation

◆ md_acme_drive_cert_poll()

apr_status_t md_acme_drive_cert_poll ( struct md_proto_driver_t d,
int  only_once 
)

Definition at line 262 of file md_acme_drive.c.

◆ md_acme_drive_set_acct()

apr_status_t md_acme_drive_set_acct ( struct md_proto_driver_t d,
struct md_result_t result 
)

Definition at line 81 of file md_acme_drive.c.

◆ md_acme_drive_setup_cred_chain()

apr_status_t md_acme_drive_setup_cred_chain ( md_proto_driver_t d,
md_result_t result 
)

Pre-Req: all domains have been validated by the ACME server, e.g. all have AUTHZ resources that have status 'valid'

  • acme_driver->cred keeps the credentials to setup (key spec)

Setup private key, if not already there

  • Generate a CSR with org, contact, etc
  • Optionally enable must-staple OCSP extension
  • Submit CSR, expect 201 with location
  • POLL location for certificate
  • store certificate
  • retrieve cert chain information from cert
  • GET cert chain
  • store cert chain

Definition at line 354 of file md_acme_drive.c.