2020-06-12 22:37:56 +03: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 00:21:11 +03:00
|
|
|
key_id 4K2scIVbBpNd-78scadB2g
|
2020-07-31 00:18:14 +03:00
|
|
|
mac_key abcdefghijklmnopqrstuvwx-abcdefghijklnopqrstuvwxyz12ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh
|
2020-06-12 22:37:56 +03: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-02 20:57:28 +03:00
|
|
|
storage_clean_interval 7d
|
2021-11-29 01:22:26 +03:00
|
|
|
renew_interval 1d
|
2022-08-24 20:22:56 +03:00
|
|
|
ocsp_interval 2d
|
2020-06-12 22:37:56 +03: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-16 21:05:55 +03:00
|
|
|
"issuers": [
|
|
|
|
{
|
|
|
|
"ca": "https://example.com",
|
2024-05-12 06:39:44 +03:00
|
|
|
"challenges": {
|
|
|
|
"http": {
|
|
|
|
"alternate_port": 8080
|
|
|
|
},
|
|
|
|
"tls-alpn": {
|
|
|
|
"alternate_port": 8443
|
|
|
|
}
|
|
|
|
},
|
2020-11-16 21:05:55 +03:00
|
|
|
"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-12 22:37:56 +03:00
|
|
|
"key_type": "ed25519"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"on_demand": {
|
2024-01-31 02:11:29 +03:00
|
|
|
"permission": {
|
|
|
|
"endpoint": "https://example.com",
|
|
|
|
"module": "http"
|
|
|
|
},
|
2020-06-12 22:37:56 +03:00
|
|
|
"rate_limit": {
|
|
|
|
"interval": 30000000000,
|
|
|
|
"burst": 20
|
2023-08-09 20:25:59 +03:00
|
|
|
}
|
2021-05-02 20:57:28 +03:00
|
|
|
},
|
2022-08-24 20:22:56 +03:00
|
|
|
"ocsp_interval": 172800000000000,
|
2021-11-29 01:22:26 +03:00
|
|
|
"renew_interval": 86400000000000,
|
2021-05-02 20:57:28 +03:00
|
|
|
"storage_clean_interval": 604800000000000
|
2020-06-12 22:37:56 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|