2020-06-13 03:37:56 +08:00
|
|
|
{
|
|
|
|
debug
|
|
|
|
http_port 8080
|
|
|
|
https_port 8443
|
|
|
|
default_sni localhost
|
|
|
|
order root first
|
|
|
|
storage file_system {
|
|
|
|
root /data
|
|
|
|
}
|
|
|
|
acme_ca https://example.com
|
|
|
|
acme_eab {
|
2021-01-20 05:21:11 +08:00
|
|
|
key_id 4K2scIVbBpNd-78scadB2g
|
2020-07-31 05:18:14 +08:00
|
|
|
mac_key abcdefghijklmnopqrstuvwx-abcdefghijklnopqrstuvwxyz12ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh
|
2020-06-13 03:37:56 +08:00
|
|
|
}
|
|
|
|
acme_ca_root /path/to/ca.crt
|
|
|
|
email test@example.com
|
|
|
|
admin off
|
|
|
|
on_demand_tls {
|
|
|
|
ask https://example.com
|
|
|
|
interval 30s
|
|
|
|
burst 20
|
|
|
|
}
|
2021-05-03 01:57:28 +08:00
|
|
|
storage_clean_interval 7d
|
2021-11-29 06:22:26 +08:00
|
|
|
renew_interval 1d
|
2022-08-25 01:22:56 +08:00
|
|
|
ocsp_interval 2d
|
2020-06-13 03:37:56 +08:00
|
|
|
|
|
|
|
key_type ed25519
|
|
|
|
}
|
|
|
|
|
|
|
|
:80
|
|
|
|
----------
|
|
|
|
{
|
|
|
|
"admin": {
|
|
|
|
"disabled": true
|
|
|
|
},
|
|
|
|
"logging": {
|
|
|
|
"logs": {
|
|
|
|
"default": {
|
|
|
|
"level": "DEBUG"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"storage": {
|
|
|
|
"module": "file_system",
|
|
|
|
"root": "/data"
|
|
|
|
},
|
|
|
|
"apps": {
|
|
|
|
"http": {
|
|
|
|
"http_port": 8080,
|
|
|
|
"https_port": 8443,
|
|
|
|
"servers": {
|
|
|
|
"srv0": {
|
|
|
|
"listen": [
|
|
|
|
":80"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tls": {
|
|
|
|
"automation": {
|
|
|
|
"policies": [
|
|
|
|
{
|
2020-11-17 02:05:55 +08:00
|
|
|
"issuers": [
|
|
|
|
{
|
|
|
|
"ca": "https://example.com",
|
|
|
|
"email": "test@example.com",
|
|
|
|
"external_account": {
|
|
|
|
"key_id": "4K2scIVbBpNd-78scadB2g",
|
|
|
|
"mac_key": "abcdefghijklmnopqrstuvwx-abcdefghijklnopqrstuvwxyz12ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh"
|
|
|
|
},
|
|
|
|
"module": "acme",
|
|
|
|
"trusted_roots_pem_files": [
|
|
|
|
"/path/to/ca.crt"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2020-06-13 03:37:56 +08:00
|
|
|
"key_type": "ed25519"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"on_demand": {
|
2023-08-10 01:25:59 +08:00
|
|
|
"ask": "https://example.com",
|
2020-06-13 03:37:56 +08:00
|
|
|
"rate_limit": {
|
|
|
|
"interval": 30000000000,
|
|
|
|
"burst": 20
|
2023-08-10 01:25:59 +08:00
|
|
|
}
|
2021-05-03 01:57:28 +08:00
|
|
|
},
|
2022-08-25 01:22:56 +08:00
|
|
|
"ocsp_interval": 172800000000000,
|
2021-11-29 06:22:26 +08:00
|
|
|
"renew_interval": 86400000000000,
|
2021-05-03 01:57:28 +08:00
|
|
|
"storage_clean_interval": 604800000000000
|
2020-06-13 03:37:56 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|