Certificate is there but ssl always fail

1. The problem I’m having:

im trying to setup caddy in my server, the certificate is ordered and saved correctly but when i visit with https it wont load, its fine if i use http or ip address

* Host cms.veganku.co.id:443 was resolved.
* IPv6: (none)
* IPv4: 139.255.102.227
*   Trying 139.255.102.227:443...
* Connected to cms.veganku.co.id (139.255.102.227) port 443
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS alert, handshake failure (552):
* OpenSSL/3.0.13: error:0A000410:SSL routines::sslv3 alert handshake failure
* Closing connection
curl: (35) OpenSSL/3.0.13: error:0A000410:SSL routines::sslv3 alert handshake failure

2. Error messages and/or full log output:

Mar 13 12:24:33 veganku caddy[88793]: NOTIFY_SOCKET=/run/systemd/notify
Mar 13 12:24:33 veganku caddy[88793]: USER=caddy
Mar 13 12:24:33 veganku caddy[88793]: LOGNAME=caddy
Mar 13 12:24:33 veganku caddy[88793]: HOME=/var/lib/caddy
Mar 13 12:24:33 veganku caddy[88793]: INVOCATION_ID=7fef4abc88904b668f69513043d9ca41
Mar 13 12:24:33 veganku caddy[88793]: JOURNAL_STREAM=9:270703
Mar 13 12:24:33 veganku caddy[88793]: SYSTEMD_EXEC_PID=88793
Mar 13 12:24:33 veganku caddy[88793]: MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/caddy.service/memory.pressure
Mar 13 12:24:33 veganku caddy[88793]: MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2300456,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2326865,"msg":"adapted config to JSON","adapter":"caddyfile"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"warn","ts":1741843473.2327597,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":10}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.234811,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2350461,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2351046,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"warn","ts":1741843473.2351408,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv1","http_port":80}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"warn","ts":1741843473.23837,"logger":"http","msg":"HTTP/2 skipped because it requires TLS","network":"tcp","addr":":80"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"warn","ts":1741843473.2384415,"logger":"http","msg":"HTTP/3 skipped because it requires TLS","network":"tcp","addr":":80"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2384698,"logger":"http.log","msg":"server running","name":"srv1","protocols":["h1","h2","h3"]}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2384908,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2385545,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2385566,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["api.veganku.co.id","cms.veganku.co.id"]}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.238815,"msg":"autosaved config (load with --resume flag)","file":"/var/lib/caddy/.config/caddy/autosave.json"}
Mar 13 12:24:33 veganku systemd[1]: Started caddy.service - Caddy.
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2413,"msg":"serving initial configuration"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2451794,"logger":"tls.obtain","msg":"acquiring lock","identifier":"api.veganku.co.id"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2478004,"logger":"tls.obtain","msg":"lock acquired","identifier":"api.veganku.co.id"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.247838,"logger":"tls.obtain","msg":"obtaining certificate","identifier":"api.veganku.co.id"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2480745,"logger":"tls.issuance.acme","msg":"creating new account because no account for configured email is known to us","email":"","ca":"https://acme.zerossl.com/v2/DV90","error":"open /var/lib/caddy/.local/share/caddy/acme/acme.zerossl.com-v2-dv90/users/default/default.json: no such file or directory"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.248095,"logger":"tls.issuance.acme","msg":"ACME account has empty status; registering account with ACME server","contact":[],"location":""}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2507818,"logger":"tls.issuance.acme","msg":"creating new account because no account for configured email is known to us","email":"","ca":"https://acme.zerossl.com/v2/DV90","error":"open /var/lib/caddy/.local/share/caddy/acme/acme.zerossl.com-v2-dv90/users/default/default.json: no such file or directory"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.251031,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0005b3480"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2537932,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/var/lib/caddy/.local/share/caddy","instance":"39694599-82b0-4d8d-a6a7-7d361c3c7493","try_again":1741929873.2537925,"try_again_in":86399.9999996}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.253883,"logger":"tls","msg":"finished cleaning storage units"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2563896,"logger":"tls.obtain","msg":"acquiring lock","identifier":"cms.veganku.co.id"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2585378,"logger":"tls.obtain","msg":"lock acquired","identifier":"cms.veganku.co.id"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.258573,"logger":"tls.obtain","msg":"obtaining certificate","identifier":"cms.veganku.co.id"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2587805,"logger":"tls.issuance.acme","msg":"creating new account because no account for configured email is known to us","email":"","ca":"https://acme.zerossl.com/v2/DV90","error":"open /var/lib/caddy/.local/share/caddy/acme/acme.zerossl.com-v2-dv90/users/default/default.json: no such file or directory"}
Mar 13 12:24:33 veganku caddy[88793]: {"level":"info","ts":1741843473.2587984,"logger":"tls.issuance.acme","msg":"ACME account has empty status; registering account with ACME server","contact":[],"location":""}
Mar 13 12:24:35 veganku caddy[88793]: {"level":"info","ts":1741843475.9803903,"logger":"tls.issuance.acme","msg":"new ACME account registered","contact":[],"status":"valid"}
Mar 13 12:24:35 veganku caddy[88793]: {"level":"info","ts":1741843475.9867942,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["api.veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":""}
Mar 13 12:24:35 veganku caddy[88793]: {"level":"info","ts":1741843475.9868062,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["api.veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":""}
Mar 13 12:24:35 veganku caddy[88793]: {"level":"info","ts":1741843475.9868212,"logger":"tls.issuance.acme","msg":"using ACME account","account_id":"https://acme.zerossl.com/v2/DV90/account/D04kGrcn7P_SlDXcPtf2Cw","account_contact":[]}
Mar 13 12:24:36 veganku caddy[88793]: {"level":"info","ts":1741843476.2638173,"logger":"tls.issuance.acme","msg":"account has already been registered; reloaded","contact":[],"status":"valid","location":"https://acme.zerossl.com/v2/DV90/account/D04kGrcn7P_SlDXcPtf2Cw"}
Mar 13 12:24:36 veganku caddy[88793]: {"level":"info","ts":1741843476.2643163,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["cms.veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":""}
Mar 13 12:24:36 veganku caddy[88793]: {"level":"info","ts":1741843476.2643266,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["cms.veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":""}
Mar 13 12:24:36 veganku caddy[88793]: {"level":"info","ts":1741843476.264338,"logger":"tls.issuance.acme","msg":"using ACME account","account_id":"https://acme.zerossl.com/v2/DV90/account/D04kGrcn7P_SlDXcPtf2Cw","account_contact":[]}
Mar 13 12:24:37 veganku caddy[88793]: {"level":"info","ts":1741843477.7242386,"msg":"trying to solve challenge","identifier":"api.veganku.co.id","challenge_type":"http-01","ca":"https://acme.zerossl.com/v2/DV90"}
Mar 13 12:24:42 veganku caddy[88793]: {"level":"info","ts":1741843482.1720154,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"api.veganku.co.id","challenge":"http-01","remote":"91.199.212.132:38804","distributed":false}
Mar 13 12:24:43 veganku caddy[88793]: {"level":"info","ts":1741843483.5005665,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"api.veganku.co.id","challenge":"http-01","remote":"35.234.83.163:36864","distributed":false}
Mar 13 12:24:43 veganku caddy[88793]: {"level":"info","ts":1741843483.7077222,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"api.veganku.co.id","challenge":"http-01","remote":"35.209.173.94:2048","distributed":false}
Mar 13 12:24:45 veganku caddy[88793]: {"level":"info","ts":1741843485.271514,"msg":"authorization finalized","identifier":"api.veganku.co.id","authz_status":"valid"}
Mar 13 12:24:45 veganku caddy[88793]: {"level":"info","ts":1741843485.2718816,"msg":"validations succeeded; finalizing order","order":"https://acme.zerossl.com/v2/DV90/order/Ujr8MHd9vPD13oCz7YBsVQ"}
Mar 13 12:24:59 veganku caddy[88793]: {"level":"info","ts":1741843499.9297733,"msg":"trying to solve challenge","identifier":"cms.veganku.co.id","challenge_type":"http-01","ca":"https://acme.zerossl.com/v2/DV90"}
Mar 13 12:25:04 veganku caddy[88793]: {"level":"info","ts":1741843504.6973832,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"cms.veganku.co.id","challenge":"http-01","remote":"91.199.212.132:43062","distributed":false}
Mar 13 12:25:05 veganku caddy[88793]: {"level":"info","ts":1741843505.7806475,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"cms.veganku.co.id","challenge":"http-01","remote":"35.209.173.94:2048","distributed":false}
Mar 13 12:25:06 veganku caddy[88793]: {"level":"info","ts":1741843506.147591,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"cms.veganku.co.id","challenge":"http-01","remote":"35.234.83.163:35328","distributed":false}
Mar 13 12:25:12 veganku caddy[88793]: {"level":"info","ts":1741843512.2630193,"msg":"authorization finalized","identifier":"cms.veganku.co.id","authz_status":"valid"}
Mar 13 12:25:12 veganku caddy[88793]: {"level":"info","ts":1741843512.2632325,"msg":"validations succeeded; finalizing order","order":"https://acme.zerossl.com/v2/DV90/order/IVueXsctQzPCKT91yEXqEA"}

3. Caddy version:

v2.9.1 h1:OEYiZ7DbCzAWVb6TNEkjRcSCRGHVoZsJinoDR/n9oaY=

4. How I installed and ran Caddy:

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy

a. System environment:

ubuntu 24.04 inside win server’s hyper-v, public ip set with mikrotik,

b. Command:

sudo systemctl restart caddy

c. Service/unit/compose file:

d. My complete Caddy config:

# The Caddyfile is an easy way to configure your Caddy web server.
#
# Unless the file starts with a global options block, the first
# uncommented line is always the address of your site.
#
# To use your own domain name (with automatic HTTPS), first make
# sure your domain's A/AAAA DNS records are properly pointed to
# this machine's public IP, then replace ":80" below with your
# domain name
{
	#debug
	email -

	acme_ca https://acme.zerossl.com/v2/DV90
	acme_eab {
		key_id -
		mac_key -
	}
}

api.veganku.co.id {
	log {
		output file /home/veganku/vegangit/log/access-api.log {
			roll_size 1gb
			roll_keep 5
			roll_keep_for 720h
		}
	}

	# Handle root path
	@root path /
	handle @root {
		respond "Application up"
	}

	@balance path /balance/*
	handle @balance {
		root * /home/veganku/vegangit/balance/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@bucket path /bucket/*
	handle @bucket {
		root * /home/veganku/vegangit/bucket/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@community path /community/*
	handle @community {
		root * /home/veganku/vegangit/community/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@customer path /customer/*
	handle @customer {
		root * /home/veganku/vegangit/customer/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@employee path /employee/*
	handle @employee {
		root * /home/veganku/vegangit/employee/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@gateway path /gateway/*
	handle @gateway {
		root * /home/veganku/vegangit/gateway/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@master path /master/*
	handle @master {
		root * /home/veganku/vegangit/master/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@merchant path /merchant/*
	handle @merchant {
		root * /home/veganku/vegangit/merchant/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@payment path /payment/*
	handle @payment {
		root * /home/veganku/vegangit/payment/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@product path /product/*
	handle @product {
		root * /home/veganku/vegangit/product/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@promo path /promo/*
	handle @promo {
		root * /home/veganku/vegangit/promo/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}
}

cms.veganku.co.id {
	log {
		output file /home/veganku/vegangit/log/access-cms.log {
			roll_size 1gb
			roll_keep 5
			roll_keep_for 720h
		}
	}

	root * /home/veganku/vegangit/veganku-cms/public
	php_fastcgi unix//run/php/php7.4-fpm.sock
	file_server
}

139.255.102.227:80 {
	respond "Hello, world!"
}

5. Links to relevant resources:

Quallabs SSL test fails badly too: SSL Server Test: cms.veganku.co.id (Powered by Qualys SSL Labs)

Are you sure that HTTPS isn’t being blocked by your service provider?

It doesn’t look like it’s getting to negotiating certs:

$ gnutls-cli -d2 139.255.102.227                                                                                                          
Processed 143 CA certificate(s).
Resolving '139.255.102.227:443'...
Connecting to '139.255.102.227:443'...
|<2>| added 6 protocols, 29 ciphersuites, 19 sig algos and 10 groups into priority list
|<2>| Keeping ciphersuite 13.02 (GNUTLS_AES_256_GCM_SHA384)
|<2>| Keeping ciphersuite 13.03 (GNUTLS_CHACHA20_POLY1305_SHA256)
|<2>| Keeping ciphersuite 13.01 (GNUTLS_AES_128_GCM_SHA256)
|<2>| Keeping ciphersuite 13.04 (GNUTLS_AES_128_CCM_SHA256)
|<2>| Keeping ciphersuite c0.2c (GNUTLS_ECDHE_ECDSA_AES_256_GCM_SHA384)
|<2>| Keeping ciphersuite cc.a9 (GNUTLS_ECDHE_ECDSA_CHACHA20_POLY1305)
|<2>| Keeping ciphersuite c0.ad (GNUTLS_ECDHE_ECDSA_AES_256_CCM)
|<2>| Keeping ciphersuite c0.0a (GNUTLS_ECDHE_ECDSA_AES_256_CBC_SHA1)
|<2>| Keeping ciphersuite c0.2b (GNUTLS_ECDHE_ECDSA_AES_128_GCM_SHA256)
|<2>| Keeping ciphersuite c0.ac (GNUTLS_ECDHE_ECDSA_AES_128_CCM)
|<2>| Keeping ciphersuite c0.09 (GNUTLS_ECDHE_ECDSA_AES_128_CBC_SHA1)
|<2>| Keeping ciphersuite c0.30 (GNUTLS_ECDHE_RSA_AES_256_GCM_SHA384)
|<2>| Keeping ciphersuite cc.a8 (GNUTLS_ECDHE_RSA_CHACHA20_POLY1305)
|<2>| Keeping ciphersuite c0.14 (GNUTLS_ECDHE_RSA_AES_256_CBC_SHA1)
|<2>| Keeping ciphersuite c0.2f (GNUTLS_ECDHE_RSA_AES_128_GCM_SHA256)
|<2>| Keeping ciphersuite c0.13 (GNUTLS_ECDHE_RSA_AES_128_CBC_SHA1)
|<2>| Keeping ciphersuite 00.9d (GNUTLS_RSA_AES_256_GCM_SHA384)
|<2>| Keeping ciphersuite c0.9d (GNUTLS_RSA_AES_256_CCM)
|<2>| Keeping ciphersuite 00.35 (GNUTLS_RSA_AES_256_CBC_SHA1)
|<2>| Keeping ciphersuite 00.9c (GNUTLS_RSA_AES_128_GCM_SHA256)
|<2>| Keeping ciphersuite c0.9c (GNUTLS_RSA_AES_128_CCM)
|<2>| Keeping ciphersuite 00.2f (GNUTLS_RSA_AES_128_CBC_SHA1)
|<2>| Keeping ciphersuite 00.9f (GNUTLS_DHE_RSA_AES_256_GCM_SHA384)
|<2>| Keeping ciphersuite cc.aa (GNUTLS_DHE_RSA_CHACHA20_POLY1305)
|<2>| Keeping ciphersuite c0.9f (GNUTLS_DHE_RSA_AES_256_CCM)
|<2>| Keeping ciphersuite 00.39 (GNUTLS_DHE_RSA_AES_256_CBC_SHA1)
|<2>| Keeping ciphersuite 00.9e (GNUTLS_DHE_RSA_AES_128_GCM_SHA256)
|<2>| Keeping ciphersuite c0.9e (GNUTLS_DHE_RSA_AES_128_CCM)
|<2>| Keeping ciphersuite 00.33 (GNUTLS_DHE_RSA_AES_128_CBC_SHA1)
|<2>| Advertizing version 3.4
|<2>| Advertizing version 3.3
|<2>| Advertizing version 3.2
|<2>| Advertizing version 3.1
*** Fatal error: A TLS fatal alert has been received.
*** Received alert [40]: Handshake failed
2 Likes

but how do i test if they blocked 443, i use mikrotik to assign the ip since we had several of public ip, and the other port like ssh and rdp are fine and usable.

i now tried the main site and it works fine, while the api and cms are not. i am considering to use wildcard but i need to change to another dns provider

caddyfile

# The Caddyfile is an easy way to configure your Caddy web server.
#
# Unless the file starts with a global options block, the first
# uncommented line is always the address of your site.
#
# To use your own domain name (with automatic HTTPS), first make
# sure your domain's A/AAAA DNS records are properly pointed to
# this machine's public IP, then replace ":80" below with your
# domain name
{
	debug
	email -

	acme_ca https://acme.zerossl.com/v2/DV90
	acme_eab {
		key_id -
		mac_key -
	}
}

veganku.co.id {
	respond "Hello, world"
}

api.veganku.co.id {
	log {
		output file /home/veganku/vegangit/log/access-api.log {
			roll_size 1gb
			roll_keep 5
			roll_keep_for 720h
		}
	}

	# Handle root path
	@root path /
	handle @root {
		respond "Application up"
	}

	@balance path /balance/*
	handle @balance {
		root * /home/veganku/vegangit/balance/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@bucket path /bucket/*
	handle @bucket {
		root * /home/veganku/vegangit/bucket/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@community path /community/*
	handle @community {
		root * /home/veganku/vegangit/community/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@customer path /customer/*
	handle @customer {
		root * /home/veganku/vegangit/customer/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@employee path /employee/*
	handle @employee {
		root * /home/veganku/vegangit/employee/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@gateway path /gateway/*
	handle @gateway {
		root * /home/veganku/vegangit/gateway/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@master path /master/*
	handle @master {
		root * /home/veganku/vegangit/master/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@merchant path /merchant/*
	handle @merchant {
		root * /home/veganku/vegangit/merchant/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@payment path /payment/*
	handle @payment {
		root * /home/veganku/vegangit/payment/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@product path /product/*
	handle @product {
		root * /home/veganku/vegangit/product/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}

	@promo path /promo/*
	handle @promo {
		root * /home/veganku/vegangit/promo/public
		php_fastcgi unix//run/php/php7.4-fpm.sock
		file_server
	}
}

cms.veganku.co.id {
	log {
		output file /home/veganku/vegangit/log/access-cms.log {
			roll_size 1gb
			roll_keep 5
			roll_keep_for 720h
		}
	}

	root * /home/veganku/vegangit/veganku-cms/public
	php_fastcgi unix//run/php/php7.4-fpm.sock
	file_server
}

139.255.102.227:80 {
	respond "Hello, world!"
}

logs

Mar 13 12:54:21 veganku systemd[1]: Starting caddy.service - Caddy...
Mar 13 12:54:21 veganku caddy[89649]: caddy.HomeDir=/var/lib/caddy
Mar 13 12:54:21 veganku caddy[89649]: caddy.AppDataDir=/var/lib/caddy/.local/share/caddy
Mar 13 12:54:21 veganku caddy[89649]: caddy.AppConfigDir=/var/lib/caddy/.config/caddy
Mar 13 12:54:21 veganku caddy[89649]: caddy.ConfigAutosavePath=/var/lib/caddy/.config/caddy/autosave.json
Mar 13 12:54:21 veganku caddy[89649]: caddy.Version=v2.9.1 h1:OEYiZ7DbCzAWVb6TNEkjRcSCRGHVoZsJinoDR/n9oaY=
Mar 13 12:54:21 veganku caddy[89649]: runtime.GOOS=linux
Mar 13 12:54:21 veganku caddy[89649]: runtime.GOARCH=amd64
Mar 13 12:54:21 veganku caddy[89649]: runtime.Compiler=gc
Mar 13 12:54:21 veganku caddy[89649]: runtime.NumCPU=1
Mar 13 12:54:21 veganku caddy[89649]: runtime.GOMAXPROCS=1
Mar 13 12:54:21 veganku caddy[89649]: runtime.Version=go1.23.4
Mar 13 12:54:21 veganku caddy[89649]: os.Getwd=/
Mar 13 12:54:21 veganku caddy[89649]: LANG=en_US.UTF-8
Mar 13 12:54:21 veganku caddy[89649]: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin
Mar 13 12:54:21 veganku caddy[89649]: NOTIFY_SOCKET=/run/systemd/notify
Mar 13 12:54:21 veganku caddy[89649]: USER=caddy
Mar 13 12:54:21 veganku caddy[89649]: LOGNAME=caddy
Mar 13 12:54:21 veganku caddy[89649]: HOME=/var/lib/caddy
Mar 13 12:54:21 veganku caddy[89649]: INVOCATION_ID=b431e0e7d2b14a508b7d7807cd4c2c36
Mar 13 12:54:21 veganku caddy[89649]: JOURNAL_STREAM=9:274990
Mar 13 12:54:21 veganku caddy[89649]: SYSTEMD_EXEC_PID=89649
Mar 13 12:54:21 veganku caddy[89649]: MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/caddy.service/memory.pressure
Mar 13 12:54:21 veganku caddy[89649]: MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3710074,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.375936,"msg":"adapted config to JSON","adapter":"caddyfile"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.384434,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3856173,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3857028,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"warn","ts":1741845261.3857448,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv1","http_port":80}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.3857918,"logger":"http.auto_https","msg":"adjusted config","tls":{"automation":{"policies":[{"subjects":["api.veganku.co.id","cms.veganku.co.id","veganku.co.id"]},{}]}},"http":{"servers":{"srv0":{"listen":[":443"],"routes":[{"handle":[{"handler":"subroute","routes":[{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/community/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/community/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/customer/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/customer/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/employee/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/employee/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/merchant/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/merchant/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/balance/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/balance/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/gateway/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/gateway/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/payment/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/payment/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/product/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/product/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/bucket/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/bucket/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/master/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/master/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/promo/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"match":[{"path":["/promo/*"]}]},{"group":"group12","handle":[{"handler":"subroute","routes":[{"handle":[{"body":"Application up","handler":"static_response"}]}]}],"match":[{"path":["/"]}]}]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"handler":"vars","root":"/home/veganku/vegangit/veganku-cms/public"}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/{http.request.orig_uri.prefixed_query}"]},"status_code":308}],"match":[{"file":{"try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"],"try_policy":"first_exist_fallback"}}]},{"handle":[{"handler":"reverse_proxy","transport":{"protocol":"fastcgi","split_path":[".php"]},"upstreams":[{"dial":"unix//run/php/php7.4-fpm.sock"}]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","hide":["/etc/caddy/Caddyfile"]}]}]}],"terminal":true},{"handle":[{"handler":"subroute","routes":[{"handle":[{"body":"Hello, world","handler":"static_response"}]}]}],"terminal":true}],"tls_connection_policies":[{}],"automatic_https":{},"logs":{"logger_names":{"api.veganku.co.id":["log0"],"cms.veganku.co.id":["log1"]},"skip_hosts":["veganku.co.id"]}},"srv1":{"listen":[":80"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"body":"Hello, world!","handler":"static_response"}]}]}],"terminal":true},{},{}],"automatic_https":{"disable":true}}}}}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.390381,"logger":"http","msg":"starting server loop","address":"[::]:443","tls":true,"http3":false}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3904486,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3905418,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.390724,"logger":"http","msg":"starting server loop","address":"[::]:80","tls":false,"http3":false}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"warn","ts":1741845261.3916855,"logger":"http","msg":"HTTP/2 skipped because it requires TLS","network":"tcp","addr":":80"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"warn","ts":1741845261.3917205,"logger":"http","msg":"HTTP/3 skipped because it requires TLS","network":"tcp","addr":":80"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3917403,"logger":"http.log","msg":"server running","name":"srv1","protocols":["h1","h2","h3"]}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3917434,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["cms.veganku.co.id","veganku.co.id","api.veganku.co.id"]}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3919036,"msg":"autosaved config (load with --resume flag)","file":"/var/lib/caddy/.config/caddy/autosave.json"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.3919253,"msg":"serving initial configuration"}
Mar 13 12:54:21 veganku systemd[1]: Started caddy.service - Caddy.
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4037254,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/var/lib/caddy/.local/share/caddy","instance":"39694599-82b0-4d8d-a6a7-7d361c3c7493","try_again":1741931661.403724,"try_again_in":86399.9999997}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4037678,"logger":"tls","msg":"finished cleaning storage units"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4044938,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000673680"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.410743,"logger":"tls.obtain","msg":"acquiring lock","identifier":"cms.veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4153347,"logger":"tls.obtain","msg":"lock acquired","identifier":"cms.veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4153807,"logger":"tls.obtain","msg":"obtaining certificate","identifier":"cms.veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.4153929,"logger":"events","msg":"event","name":"cert_obtaining","id":"73c7de9f-ad6b-42cb-bf50-eb21eef7f54e","origin":"tls","data":{"identifier":"cms.veganku.co.id"}}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.4154742,"logger":"tls","msg":"created CSR","identifiers":["cms.veganku.co.id"],"san_dns_names":["cms.veganku.co.id"],"san_emails":[],"common_name":"","extra_extensions":0}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.4156203,"logger":"tls.obtain","msg":"trying issuer 1/1","issuer":"acme.zerossl.com-v2-DV90"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.415671,"logger":"tls.issuance.acme","msg":"creating new account because no account for configured email is known to us","email":"user@company.com","ca":"https://acme.zerossl.com/v2/DV90","error":"open /var/lib/caddy/.local/share/caddy/acme/acme.zerossl.com-v2-dv90/users/user@company.com/user.json: no such file or directory"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4156895,"logger":"tls.issuance.acme","msg":"ACME account has empty status; registering account with ACME server","contact":["mailto:user@company.com"],"location":""}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4210017,"logger":"tls.obtain","msg":"acquiring lock","identifier":"veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4211807,"logger":"tls.issuance.acme","msg":"creating new account because no account for configured email is known to us","email":"user@company.com","ca":"https://acme.zerossl.com/v2/DV90","error":"open /var/lib/caddy/.local/share/caddy/acme/acme.zerossl.com-v2-dv90/users/user@company.com/user.json: no such file or directory"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.426422,"logger":"tls.obtain","msg":"acquiring lock","identifier":"api.veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4291,"logger":"tls.obtain","msg":"lock acquired","identifier":"veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4291413,"logger":"tls.obtain","msg":"obtaining certificate","identifier":"veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.4291518,"logger":"events","msg":"event","name":"cert_obtaining","id":"dca810a2-8102-47a6-a14f-9b0ebc07ceff","origin":"tls","data":{"identifier":"veganku.co.id"}}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.429221,"logger":"tls","msg":"created CSR","identifiers":["veganku.co.id"],"san_dns_names":["veganku.co.id"],"san_emails":[],"common_name":"","extra_extensions":0}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.4293456,"logger":"tls.obtain","msg":"trying issuer 1/1","issuer":"acme.zerossl.com-v2-DV90"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4293716,"logger":"tls.issuance.acme","msg":"creating new account because no account for configured email is known to us","email":"user@company.com","ca":"https://acme.zerossl.com/v2/DV90","error":"open /var/lib/caddy/.local/share/caddy/acme/acme.zerossl.com-v2-dv90/users/user@company.com/user.json: no such file or directory"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4293873,"logger":"tls.issuance.acme","msg":"ACME account has empty status; registering account with ACME server","contact":["mailto:user@company.com"],"location":""}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.431809,"logger":"tls.obtain","msg":"lock acquired","identifier":"api.veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4318466,"logger":"tls.obtain","msg":"obtaining certificate","identifier":"api.veganku.co.id"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.4318557,"logger":"events","msg":"event","name":"cert_obtaining","id":"8a486bd6-03e6-4c3b-99cb-c7fffb62a90f","origin":"tls","data":{"identifier":"api.veganku.co.id"}}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.431909,"logger":"tls","msg":"created CSR","identifiers":["api.veganku.co.id"],"san_dns_names":["api.veganku.co.id"],"san_emails":[],"common_name":"","extra_extensions":0}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"debug","ts":1741845261.432023,"logger":"tls.obtain","msg":"trying issuer 1/1","issuer":"acme.zerossl.com-v2-DV90"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4320462,"logger":"tls.issuance.acme","msg":"creating new account because no account for configured email is known to us","email":"user@company.com","ca":"https://acme.zerossl.com/v2/DV90","error":"open /var/lib/caddy/.local/share/caddy/acme/acme.zerossl.com-v2-dv90/users/user@company.com/user.json: no such file or directory"}
Mar 13 12:54:21 veganku caddy[89649]: {"level":"info","ts":1741845261.4320614,"logger":"tls.issuance.acme","msg":"ACME account has empty status; registering account with ACME server","contact":["mailto:user@company.com"],"location":""}
Mar 13 12:54:24 veganku caddy[89649]: {"level":"debug","ts":1741845264.1432729,"msg":"http request","method":"GET","url":"https://acme.zerossl.com/v2/DV90","headers":{"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Content-Length":["712"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:24 GMT"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:24 veganku caddy[89649]: {"level":"debug","ts":1741845264.6185608,"msg":"http request","method":"HEAD","url":"https://acme.zerossl.com/v2/DV90/newNonce","headers":{"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Type":["application/octet-stream"],"Date":["Thu, 13 Mar 2025 05:54:24 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["6-lbzWHcQYSSOUWpvjmW3rAvZ-XxkLg4GPOrqBmFw5A"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"debug","ts":1741845265.1587675,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/newAccount","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["578"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:25 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Location":["https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg"],"Replay-Nonce":["W6bP_klOsJgq-c8nJfB0JfJcZZJ703YEyOg2wkNoAcQ"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":201}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"info","ts":1741845265.1590862,"logger":"tls.issuance.acme","msg":"new ACME account registered","contact":["mailto:user@company.com"],"status":"valid"}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"info","ts":1741845265.1654167,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["cms.veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":"user@company.com"}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"info","ts":1741845265.165512,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["cms.veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":"user@company.com"}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"info","ts":1741845265.1655307,"logger":"tls.issuance.acme","msg":"using ACME account","account_id":"https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg","account_contact":["mailto:user@company.com"]}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"debug","ts":1741845265.1655447,"msg":"creating order","account":"https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg","identifiers":["cms.veganku.co.id"]}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"debug","ts":1741845265.4362764,"logger":"tls.issuance.acme","msg":"using existing ACME account because key found in storage associated with email","email":"user@company.com","ca":"https://acme.zerossl.com/v2/DV90"}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"info","ts":1741845265.4362922,"logger":"tls.issuance.acme","msg":"account has already been registered; reloaded","contact":["mailto:user@company.com"],"status":"valid","location":"https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg"}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"info","ts":1741845265.436328,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":"user@company.com"}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"info","ts":1741845265.4363315,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":"user@company.com"}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"info","ts":1741845265.4363377,"logger":"tls.issuance.acme","msg":"using ACME account","account_id":"https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg","account_contact":["mailto:user@company.com"]}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"debug","ts":1741845265.4366221,"msg":"creating order","account":"https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg","identifiers":["veganku.co.id"]}
Mar 13 12:54:25 veganku caddy[89649]: {"level":"debug","ts":1741845265.749274,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/newOrder","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["279"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:25 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/CAn55n5pebCg1xD342ibGg"],"Replay-Nonce":["LICR2cSBEGiRRH9bJJQBDwsWsOsc-lfrdxgSCN9DzAc"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":201}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.0533166,"msg":"http request","method":"HEAD","url":"https://acme.zerossl.com/v2/DV90/newNonce","headers":{"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Type":["application/octet-stream"],"Date":["Thu, 13 Mar 2025 05:54:25 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["3cKl_5xWVXCUK4lUQXbpktaCxzWqDWn3fQPgEokdXA8"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.2518783,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/4DVxxgvQWndAbHPTosC72Q","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["447"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:26 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["Vw8WC22ycJJn8h7zJ0dedbraFB8zUdp0y0pgYVCIAzo"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"info","ts":1741845266.251997,"msg":"trying to solve challenge","identifier":"cms.veganku.co.id","challenge_type":"http-01","ca":"https://acme.zerossl.com/v2/DV90"}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.2621317,"msg":"waiting for solver before continuing","identifier":"cms.veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.26215,"msg":"done waiting for solver","identifier":"cms.veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.4403832,"logger":"tls.issuance.acme","msg":"using existing ACME account because key found in storage associated with email","email":"user@company.com","ca":"https://acme.zerossl.com/v2/DV90"}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"info","ts":1741845266.4403994,"logger":"tls.issuance.acme","msg":"account has already been registered; reloaded","contact":["mailto:user@company.com"],"status":"valid","location":"https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg"}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"info","ts":1741845266.4404368,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["api.veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":"user@company.com"}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"info","ts":1741845266.4404414,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["api.veganku.co.id"],"ca":"https://acme.zerossl.com/v2/DV90","account":"user@company.com"}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"info","ts":1741845266.4404478,"logger":"tls.issuance.acme","msg":"using ACME account","account_id":"https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg","account_contact":["mailto:user@company.com"]}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.440456,"msg":"creating order","account":"https://acme.zerossl.com/v2/DV90/account/i6ailmIpSOffv05L5iiQAg","identifiers":["api.veganku.co.id"]}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.6668043,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/newOrder","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["275"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:26 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/FV0VrDGmyMDzEwZXShCzqA"],"Replay-Nonce":["b-g2ayxqMp9mUPHFbwQIixRd4f791OxHqHogujGTpGk"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":201}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.753602,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/chall/v1hh50IbiOOAA0Sbe5p-yg","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["164"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:26 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90/authz/4DVxxgvQWndAbHPTosC72Q>;rel=\"up\""],"Replay-Nonce":["5gw_aGvzlMeTWRM9zosMBj93dGCr-lW0QNKq91g1FyQ"],"Retry-After":["10"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.7537324,"msg":"challenge accepted","identifier":"cms.veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:26 veganku caddy[89649]: {"level":"debug","ts":1741845266.8939273,"msg":"http request","method":"HEAD","url":"https://acme.zerossl.com/v2/DV90/newNonce","headers":{"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Type":["application/octet-stream"],"Date":["Thu, 13 Mar 2025 05:54:26 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["tuYYOhAY10BSyNZumfS8WKaD0j_DFmglt4RatkN2T9I"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.2107162,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/nYTKtjd9uBC9WhDWgENJ5Q","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["443"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:27 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["WWb2NOejOsFpwWA7ZClLsjwD85HZBsAfdLmVcKMhwC8"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"info","ts":1741845267.2110045,"msg":"trying to solve challenge","identifier":"veganku.co.id","challenge_type":"http-01","ca":"https://acme.zerossl.com/v2/DV90"}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.220103,"msg":"waiting for solver before continuing","identifier":"veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.2207384,"msg":"done waiting for solver","identifier":"veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.427614,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/newOrder","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["279"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:27 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/Xxz9-CcP_SDiCvz18ZiwCA"],"Replay-Nonce":["HJ50jDR1vhUKS2rSjd1br2zeaibmIp0fQ5NJ509THeY"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":201}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.6525407,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/4DVxxgvQWndAbHPTosC72Q","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["450"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:27 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["u68lR9p2S8Gxp-kE7pTRjzFT5CLS-cPc6cqy4p2hpUM"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.7645748,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/chall/R7hWnX4aZmFAxbcPDaS83w","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["164"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:27 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90/authz/nYTKtjd9uBC9WhDWgENJ5Q>;rel=\"up\""],"Replay-Nonce":["7bYgGqfwVa_5NOkNGP95WGOFTw5lgsAtIaCGF_nyrTc"],"Retry-After":["10"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.7646775,"msg":"challenge accepted","identifier":"veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.9454389,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/puqQryDYtt0zxQlNOp-hfQ","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["447"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:27 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["SG2RSKrL_5CE-2Y-77Opegp4lQ94J4aMvnCBNaRBr58"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"info","ts":1741845267.9457424,"msg":"trying to solve challenge","identifier":"api.veganku.co.id","challenge_type":"http-01","ca":"https://acme.zerossl.com/v2/DV90"}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.9567587,"msg":"waiting for solver before continuing","identifier":"api.veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:27 veganku caddy[89649]: {"level":"debug","ts":1741845267.956779,"msg":"done waiting for solver","identifier":"api.veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:28 veganku caddy[89649]: {"level":"info","ts":1741845268.2268372,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"cms.veganku.co.id","challenge":"http-01","remote":"91.199.212.132:59132","distributed":false}
Mar 13 12:54:28 veganku caddy[89649]: {"level":"debug","ts":1741845268.4425695,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/chall/fKuQLPl489quz_sQAKKD4w","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["164"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:28 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90/authz/puqQryDYtt0zxQlNOp-hfQ>;rel=\"up\""],"Replay-Nonce":["L-3liXoRO5rlamKPpHqASEzKBxMV2yBc14ToZW63uqQ"],"Retry-After":["10"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:28 veganku caddy[89649]: {"level":"debug","ts":1741845268.442673,"msg":"challenge accepted","identifier":"api.veganku.co.id","challenge_type":"http-01"}
Mar 13 12:54:28 veganku caddy[89649]: {"level":"info","ts":1741845268.4602075,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"veganku.co.id","challenge":"http-01","remote":"91.199.212.132:59162","distributed":false}
Mar 13 12:54:28 veganku caddy[89649]: {"level":"debug","ts":1741845268.5360656,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/nYTKtjd9uBC9WhDWgENJ5Q","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["446"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:28 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["wzjFYre3OKFmcC3J8vNd6dCjtCvC6wfalspaoPwGLlE"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:29 veganku caddy[89649]: {"level":"info","ts":1741845269.1150901,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"api.veganku.co.id","challenge":"http-01","remote":"91.199.212.132:59258","distributed":false}
Mar 13 12:54:29 veganku caddy[89649]: {"level":"debug","ts":1741845269.19882,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/puqQryDYtt0zxQlNOp-hfQ","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["450"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:29 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["qQP1azn5lzqGSn-0NJaxQbTFgCXp3plUatfhJZx6UJU"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:30 veganku caddy[89649]: {"level":"info","ts":1741845270.5607138,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"cms.veganku.co.id","challenge":"http-01","remote":"35.209.173.94:2048","distributed":false}
Mar 13 12:54:30 veganku caddy[89649]: {"level":"info","ts":1741845270.60515,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"api.veganku.co.id","challenge":"http-01","remote":"35.234.83.163:36864","distributed":false}
Mar 13 12:54:30 veganku caddy[89649]: {"level":"info","ts":1741845270.60774,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"cms.veganku.co.id","challenge":"http-01","remote":"35.234.83.163:36865","distributed":false}
Mar 13 12:54:30 veganku caddy[89649]: {"level":"info","ts":1741845270.6077778,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"veganku.co.id","challenge":"http-01","remote":"35.234.83.163:36866","distributed":false}
Mar 13 12:54:30 veganku caddy[89649]: {"level":"info","ts":1741845270.715822,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"veganku.co.id","challenge":"http-01","remote":"35.209.173.94:35328","distributed":false}
Mar 13 12:54:30 veganku caddy[89649]: {"level":"info","ts":1741845270.7276855,"logger":"tls.issuance.acme","msg":"served key authentication","identifier":"api.veganku.co.id","challenge":"http-01","remote":"35.209.173.94:35329","distributed":false}
Mar 13 12:54:33 veganku caddy[89649]: {"level":"debug","ts":1741845273.1120768,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/4DVxxgvQWndAbHPTosC72Q","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["317"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:33 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["Alqn61Cfp7QvkRGQdj1J_RPYz1UsktYB4qy6gAKQz7U"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:33 veganku caddy[89649]: {"level":"info","ts":1741845273.1132739,"msg":"authorization finalized","identifier":"cms.veganku.co.id","authz_status":"valid"}
Mar 13 12:54:33 veganku caddy[89649]: {"level":"info","ts":1741845273.1132944,"msg":"validations succeeded; finalizing order","order":"https://acme.zerossl.com/v2/DV90/order/CAn55n5pebCg1xD342ibGg"}
Mar 13 12:54:33 veganku caddy[89649]: {"level":"debug","ts":1741845273.6245856,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/order/CAn55n5pebCg1xD342ibGg/finalize","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["282"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:33 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/CAn55n5pebCg1xD342ibGg"],"Replay-Nonce":["c4gHjtG7HU5VAd5SOGCjbQ5TSjGkEQSczAgVnoRFqVI"],"Retry-After":["15"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:34 veganku caddy[89649]: {"level":"debug","ts":1741845274.122358,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/nYTKtjd9uBC9WhDWgENJ5Q","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["313"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:34 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["Dfxeg66SdtVO8mytoj6nTV2SMNhn5oh4VuI_7BWUMVQ"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:34 veganku caddy[89649]: {"level":"info","ts":1741845274.1228447,"msg":"authorization finalized","identifier":"veganku.co.id","authz_status":"valid"}
Mar 13 12:54:34 veganku caddy[89649]: {"level":"info","ts":1741845274.122858,"msg":"validations succeeded; finalizing order","order":"https://acme.zerossl.com/v2/DV90/order/FV0VrDGmyMDzEwZXShCzqA"}
Mar 13 12:54:34 veganku caddy[89649]: {"level":"debug","ts":1741845274.6485703,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/order/FV0VrDGmyMDzEwZXShCzqA/finalize","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["278"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:34 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/FV0VrDGmyMDzEwZXShCzqA"],"Replay-Nonce":["wtaGYBcAgBGbTwVelVAZBNY1EKM_RJNas6Osx69Dpb4"],"Retry-After":["15"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:34 veganku caddy[89649]: {"level":"debug","ts":1741845274.660245,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/puqQryDYtt0zxQlNOp-hfQ","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["317"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:34 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["dT8gjG0zXparjTf4v32qTN5PrKN6rspxkkDApMogXi8"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:34 veganku caddy[89649]: {"level":"info","ts":1741845274.6603692,"msg":"authorization finalized","identifier":"api.veganku.co.id","authz_status":"valid"}
Mar 13 12:54:34 veganku caddy[89649]: {"level":"info","ts":1741845274.660377,"msg":"validations succeeded; finalizing order","order":"https://acme.zerossl.com/v2/DV90/order/Xxz9-CcP_SDiCvz18ZiwCA"}
Mar 13 12:54:35 veganku caddy[89649]: {"level":"debug","ts":1741845275.1661205,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/order/Xxz9-CcP_SDiCvz18ZiwCA/finalize","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["282"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:35 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/Xxz9-CcP_SDiCvz18ZiwCA"],"Replay-Nonce":["DKDqlNRCCys3GmPWFWoJ7XyRyaaf5mCYcvcObEX0VIg"],"Retry-After":["15"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:49 veganku caddy[89649]: {"level":"debug","ts":1741845289.1231308,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/order/CAn55n5pebCg1xD342ibGg","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["282"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:49 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/CAn55n5pebCg1xD342ibGg"],"Replay-Nonce":["PCOAjQc3R2PjkOHYCZiRD_t67yvKu4VwJfDaFKucOKQ"],"Retry-After":["15"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:50 veganku caddy[89649]: {"level":"debug","ts":1741845290.2257504,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/order/FV0VrDGmyMDzEwZXShCzqA","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["350"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:50 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/FV0VrDGmyMDzEwZXShCzqA"],"Replay-Nonce":["G0piMihuzFefko0ERyCTUm26LTvxkQQIW7GtRx6-p4Y"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:50 veganku caddy[89649]: {"level":"debug","ts":1741845290.692759,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/order/Xxz9-CcP_SDiCvz18ZiwCA","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["282"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:50 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/Xxz9-CcP_SDiCvz18ZiwCA"],"Replay-Nonce":["cYMDWskO0qr28MAlhCOduzrmy_TNl6ZBSWpzxwCZIKw"],"Retry-After":["15"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:50 veganku caddy[89649]: {"level":"debug","ts":1741845290.8328187,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/cert/dIxR8qjo4shAALK2eaFwBA","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store"],"Content-Length":["4112"],"Content-Type":["application/pem-certificate-chain"],"Date":["Thu, 13 Mar 2025 05:54:50 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["Oefgw3PRhbb5BDiZhpo71jOMu0OwQ3f0owWPjLB6Wn8"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15724800; includeSubDomains"]},"status_code":200}
Mar 13 12:54:50 veganku caddy[89649]: {"level":"debug","ts":1741845290.833115,"msg":"getting renewal info","names":["veganku.co.id"]}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"debug","ts":1741845292.4739513,"msg":"http request","method":"GET","url":"https://ari.trust-provider.com/renewalInfo/D2vmS845R672fpAeefAwkZLIX6M.ALgrY6XblgKZLdAggyZM04A","headers":{"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; amd64)"]},"response_headers":{"Cache-Control":["public, max-age=21600"],"Cf-Cache-Status":["MISS"],"Cf-Ray":["91f9476fac7b4b74-SIN"],"Content-Type":["application/json"],"Date":["Thu, 13 Mar 2025 05:54:52 GMT"],"Expires":["Thu, 13 Mar 2025 11:54:52 GMT"],"Last-Modified":["Thu, 13 Mar 2025 05:54:52 GMT"],"Retry-After":["21600"],"Server":["cloudflare"],"Strict-Transport-Security":["max-age=15552000"],"Vary":["Accept-Encoding"]},"status_code":200}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"info","ts":1741845292.4740777,"msg":"got renewal info","names":["veganku.co.id"],"window_start":1748390399,"window_end":1748563199,"selected_time":1748441783,"recheck_after":1741866892.4740732,"explanation_url":""}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"info","ts":1741845292.4740949,"msg":"successfully downloaded available certificate chains","count":1,"first_url":"https://acme.zerossl.com/v2/DV90/cert/dIxR8qjo4shAALK2eaFwBA"}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"debug","ts":1741845292.4740982,"logger":"tls.issuance.acme","msg":"selected certificate chain","url":"https://acme.zerossl.com/v2/DV90/cert/dIxR8qjo4shAALK2eaFwBA"}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"info","ts":1741845292.4832768,"logger":"tls.obtain","msg":"certificate obtained successfully","identifier":"veganku.co.id","issuer":"acme.zerossl.com-v2-DV90"}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"debug","ts":1741845292.4833386,"logger":"events","msg":"event","name":"cert_obtained","id":"3ec5a66e-cf01-4955-ab42-3c6834110a41","origin":"tls","data":{"certificate_path":"certificates/acme.zerossl.com-v2-dv90/veganku.co.id/veganku.co.id.crt","csr_pem":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlIbU1JR05BZ0VBTUFBd1dUQVRCZ2NxaGtqT1BRSUJCZ2dxaGtqT1BRTUJCd05DQUFUQ0hMOVNPRExOaUtmbApzU3k1TjIxeE5wR2xvbm9mS2JnR0l1dEVtRXZucThvT3ZOL3l1b0hMdkVPSGg1VzZHckJiNFdrK09lNU13SEx3CmpEell2ZE8zb0Nzd0tRWUpLb1pJaHZjTkFRa09NUnd3R2pBWUJnTlZIUkVFRVRBUGdnMTJaV2RoYm10MUxtTnYKTG1sa01Bb0dDQ3FHU000OUJBTUNBMGdBTUVVQ0lRRFZ0VEpyWHMxNVRTQUhLdjF5MXBqNU51UXYrbE5aQUJzZwpYYWkzTDBuR3NBSWdHbkkyK2lNeTRiU2xCSmowN2xxZVJlOUZKUk1zNVNwTjV3V1FMM3lmdm1JPQotLS0tLUVORCBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0K","identifier":"veganku.co.id","issuer":"acme.zerossl.com-v2-DV90","metadata_path":"certificates/acme.zerossl.com-v2-dv90/veganku.co.id/veganku.co.id.json","private_key_path":"certificates/acme.zerossl.com-v2-dv90/veganku.co.id/veganku.co.id.key","renewal":false,"storage_path":"certificates/acme.zerossl.com-v2-dv90/veganku.co.id"}}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"info","ts":1741845292.4833586,"logger":"tls.obtain","msg":"releasing lock","identifier":"veganku.co.id"}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"debug","ts":1741845292.9620237,"logger":"tls.cache","msg":"added certificate to cache","subjects":["veganku.co.id"],"expiration":1749686400,"managed":true,"issuer_key":"acme.zerossl.com-v2-DV90","hash":"92865de56f3a12d537fdc9d3b0ee6a624a1f44eb8f17dcd802857f7d28bbe65d","cache_size":1,"cache_capacity":10000}
Mar 13 12:54:52 veganku caddy[89649]: {"level":"debug","ts":1741845292.962196,"logger":"events","msg":"event","name":"cached_managed_cert","id":"65e33240-fb58-4170-8ac0-cf3e270515c2","origin":"tls","data":{"sans":["veganku.co.id"]}}
Mar 13 12:55:04 veganku caddy[89649]: {"level":"debug","ts":1741845304.6934621,"msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/order/CAn55n5pebCg1xD342ibGg","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.9.1 CertMagic acmez (linux; 
-- truncated since its too long --

Not sure what you’ve done but everything seems to be working (including api and cms) when I test it from my end now. It wasn’t though about an hour ago.

1 Like

Yeah I can curl it from here too. I don’t see why there would be a difference from the Caddyfiles you posted.

1 Like

holy, i would like to know as well. i was changing the nameserver to cloudflare, i don’t think its already propagated at the time of writing (i need another 30 minute to post). but i hope its that.