Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/autom8ter/acme
a golang acme auto-cert manager
https://github.com/autom8ter/acme
acme colemanword golang https tls
Last synced: 24 days ago
JSON representation
a golang acme auto-cert manager
- Host: GitHub
- URL: https://github.com/autom8ter/acme
- Owner: autom8ter
- Created: 2019-04-21T02:57:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-21T03:00:44.000Z (almost 6 years ago)
- Last Synced: 2024-11-07T15:09:18.811Z (3 months ago)
- Topics: acme, colemanword, golang, https, tls
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# acme
--
import "github.com/autom8ter/acme"## Usage
#### type Config
```go
type Config struct {
// Server is the ACME server to use
Server string// Email is the account owner's email
Email string// TOS is an array containing the URLs for accepted Terms of Service
TOS []string// DataPath is the path where files (registration, registration private key,
// cert, and cert key) should be stored.
//
// All files are stored under /autocert.
DataPath string// Domains are the domains for which should be added to provisioned
// certificates. The certificate and private key files contain
// a hash of this collection so that new certificates are provisioned
// if the list of domains changes.
Domains []string
}
```Config contains the variables required for autocert
#### func (Config) Manager
```go
func (c Config) Manager() (*autocert.Manager, error)
```
Manager returns an *autocert.Manager for this Config for automatic https