Ok I forgot to use the command caddy run
to run configuration updates and possibly request lets encrypt for a new certificate without adding a new txt record to Namecheap.
I used caddy run
but now I am getting some of these following logs from the debug:
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7251008,"logger":"events","msg":"event","name":"tls_get_certificate","id":"5bedba69-fab5-4bf4-91a6-a2f1f473cf1f","origin":"tls","data":{"client_hello":{"CipherSuites":[60138,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"ServerName":"api.mngcogo.com.au","SupportedCurves":[19018,29,23,24],"SupportedPoints":"AA==","SignatureSchemes":[1027,2052,1025,1283,2053,1281,2054,1537],"SupportedProtos":["h2","http/1.1"],"SupportedVersions":[35466,772,771],"RemoteAddr":{"IP":"1.146.232.77","Port":1354,"Zone":""},"LocalAddr":{"IP":"10.99.250.75","Port":443,"Zone":""}}}}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.725189,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"api.mngcogo.com.au"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.725197,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mngcogo.com.au"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7252347,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","remote_ip":"1.146.232.77","remote_port":"1354","server_name":"api.mngcogo.com.au","remote":"1.146.232.77:1354","identifier":"api.mngcogo.com.au","cipher_suites":[60138,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0.0001,"load_or_obtain_if_necessary":true,"on_demand":false}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7253098,"logger":"http.stdlib","msg":"http: TLS handshake error from 1.146.232.77:1354: no certificate available for 'api.mngcogo.com.au'"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.733146,"logger":"events","msg":"event","name":"tls_get_certificate","id":"1ba0d769-94af-4d5b-9dd1-0ae917f91be3","origin":"tls","data":{"client_hello":{"CipherSuites":[43690,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"ServerName":"api.mngcogo.com.au","SupportedCurves":[2570,29,23,24],"SupportedPoints":"AA==","SignatureSchemes":[1027,2052,1025,1283,2053,1281,2054,1537],"SupportedProtos":["h2","http/1.1"],"SupportedVersions":[2570,772,771],"RemoteAddr":{"IP":"1.146.232.77","Port":1362,"Zone":""},"LocalAddr":{"IP":"10.99.250.75","Port":443,"Zone":""}}}}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7331743,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"api.mngcogo.com.au"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7331848,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mngcogo.com.au"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7332098,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","remote_ip":"1.146.232.77","remote_port":"1362","server_name":"api.mngcogo.com.au","remote":"1.146.232.77:1362","identifier":"api.mngcogo.com.au","cipher_suites":[43690,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0.0001,"load_or_obtain_if_necessary":true,"on_demand":false}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7332716,"logger":"http.stdlib","msg":"http: TLS handshake error from 1.146.232.77:1362: no certificate available for 'api.mngcogo.com.au'"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7830248,"logger":"events","msg":"event","name":"tls_get_certificate","id":"85218c17-3821-485e-9358-a40a0016d794","origin":"tls","data":{"client_hello":{"CipherSuites":[43690,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"ServerName":"api.mngcogo.com.au","SupportedCurves":[19018,29,23,24],"SupportedPoints":"AA==","SignatureSchemes":[1027,2052,1025,1283,2053,1281,2054,1537],"SupportedProtos":["h2","http/1.1"],"SupportedVersions":[35466,772,771],"RemoteAddr":{"IP":"1.146.232.77","Port":1370,"Zone":""},"LocalAddr":{"IP":"10.99.250.75","Port":443,"Zone":""}}}}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7830672,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"api.mngcogo.com.au"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7830749,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mngcogo.com.au"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7830968,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","remote_ip":"1.146.232.77","remote_port":"1370","server_name":"api.mngcogo.com.au","remote":"1.146.232.77:1370","identifier":"api.mngcogo.com.au","cipher_suites":[43690,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0.0001,"load_or_obtain_if_necessary":true,"on_demand":false}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7831485,"logger":"http.stdlib","msg":"http: TLS handshake error from 1.146.232.77:1370: no certificate available for 'api.mngcogo.com.au'"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7990801,"logger":"events","msg":"event","name":"tls_get_certificate","id":"39bb0489-64d1-4d93-88cb-359bc91d7e7e","origin":"tls","data":{"client_hello":{"CipherSuites":[23130,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"ServerName":"api.mngcogo.com.au","SupportedCurves":[14906,29,23,24],"SupportedPoints":"AA==","SignatureSchemes":[1027,2052,1025,1283,2053,1281,2054,1537],"SupportedProtos":["h2","http/1.1"],"SupportedVersions":[31354,772,771],"RemoteAddr":{"IP":"1.146.232.77","Port":1376,"Zone":""},"LocalAddr":{"IP":"10.99.250.75","Port":443,"Zone":""}}}}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7991168,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"api.mngcogo.com.au"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7991316,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mngcogo.com.au"}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.799219,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","remote_ip":"1.146.232.77","remote_port":"1376","server_name":"api.mngcogo.com.au","remote":"1.146.232.77:1376","identifier":"api.mngcogo.com.au","cipher_suites":[23130,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0.0001,"load_or_obtain_if_necessary":true,"on_demand":false}
Oct 30 05:46:08 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267168.7993536,"logger":"http.stdlib","msg":"http: TLS handshake error from 1.146.232.77:1376: no certificate available for 'api.mngcogo.com.au'"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.7970793,"logger":"events","msg":"event","name":"tls_get_certificate","id":"247185a0-dd48-4292-b2ef-bc2aa8548b60","origin":"tls","data":{"client_hello":{"CipherSuites":[31354,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"ServerName":"api.mngcogo.com.au","SupportedCurves":[10794,29,23,24],"SupportedPoints":"AA==","SignatureSchemes":[1027,2052,1025,1283,2053,1281,2054,1537],"SupportedProtos":["h2","http/1.1"],"SupportedVersions":[39578,772,771],"RemoteAddr":{"IP":"1.146.232.77","Port":1400,"Zone":""},"LocalAddr":{"IP":"10.99.250.75","Port":443,"Zone":""}}}}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.7971077,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"api.mngcogo.com.au"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.797123,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mngcogo.com.au"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.7971425,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","remote_ip":"1.146.232.77","remote_port":"1400","server_name":"api.mngcogo.com.au","remote":"1.146.232.77:1400","identifier":"api.mngcogo.com.au","cipher_suites":[31354,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0.0001,"load_or_obtain_if_necessary":true,"on_demand":false}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.797187,"logger":"http.stdlib","msg":"http: TLS handshake error from 1.146.232.77:1400: no certificate available for 'api.mngcogo.com.au'"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.7977781,"logger":"events","msg":"event","name":"tls_get_certificate","id":"33832cac-4613-4f49-b7ef-8852ac2eca76","origin":"tls","data":{"client_hello":{"CipherSuites":[19018,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"ServerName":"api.mngcogo.com.au","SupportedCurves":[56026,29,23,24],"SupportedPoints":"AA==","SignatureSchemes":[1027,2052,1025,1283,2053,1281,2054,1537],"SupportedProtos":["h2","http/1.1"],"SupportedVersions":[10794,772,771],"RemoteAddr":{"IP":"1.146.232.77","Port":1386,"Zone":""},"LocalAddr":{"IP":"10.99.250.75","Port":443,"Zone":""}}}}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.7977943,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"api.mngcogo.com.au"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.7978003,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mngcogo.com.au"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.797817,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","remote_ip":"1.146.232.77","remote_port":"1386","server_name":"api.mngcogo.com.au","remote":"1.146.232.77:1386","identifier":"api.mngcogo.com.au","cipher_suites":[19018,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0.0001,"load_or_obtain_if_necessary":true,"on_demand":false}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.7978554,"logger":"http.stdlib","msg":"http: TLS handshake error from 1.146.232.77:1386: no certificate available for 'api.mngcogo.com.au'"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.8499897,"logger":"events","msg":"event","name":"tls_get_certificate","id":"933c4590-a11c-4b1f-b04b-0a5ca1103b49","origin":"tls","data":{"client_hello":{"CipherSuites":[35466,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"ServerName":"api.mngcogo.com.au","SupportedCurves":[23130,29,23,24],"SupportedPoints":"AA==","SignatureSchemes":[1027,2052,1025,1283,2053,1281,2054,1537],"SupportedProtos":["h2","http/1.1"],"SupportedVersions":[64250,772,771],"RemoteAddr":{"IP":"1.146.232.77","Port":1352,"Zone":""},"LocalAddr":{"IP":"10.99.250.75","Port":443,"Zone":""}}}}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.8500204,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"api.mngcogo.com.au"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.8500278,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mngcogo.com.au"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.850049,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","remote_ip":"1.146.232.77","remote_port":"1352","server_name":"api.mngcogo.com.au","remote":"1.146.232.77:1352","identifier":"api.mngcogo.com.au","cipher_suites":[35466,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0.0001,"load_or_obtain_if_necessary":true,"on_demand":false}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.8501995,"logger":"http.stdlib","msg":"http: TLS handshake error from 1.146.232.77:1352: no certificate available for 'api.mngcogo.com.au'"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.8504932,"logger":"events","msg":"event","name":"tls_get_certificate","id":"d2f97e73-70c3-4980-9109-ae65c1022f58","origin":"tls","data":{"client_hello":{"CipherSuites":[2570,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"ServerName":"api.mngcogo.com.au","SupportedCurves":[14906,29,23,24],"SupportedPoints":"AA==","SignatureSchemes":[1027,2052,1025,1283,2053,1281,2054,1537],"SupportedProtos":["h2","http/1.1"],"SupportedVersions":[6682,772,771],"RemoteAddr":{"IP":"1.146.232.77","Port":1360,"Zone":""},"LocalAddr":{"IP":"10.99.250.75","Port":443,"Zone":""}}}}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.8505182,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"api.mngcogo.com.au"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.8505232,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mngcogo.com.au"}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.8505416,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","remote_ip":"1.146.232.77","remote_port":"1360","server_name":"api.mngcogo.com.au","remote":"1.146.232.77:1360","identifier":"api.mngcogo.com.au","cipher_suites":[2570,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0.0001,"load_or_obtain_if_necessary":true,"on_demand":false}
Oct 30 05:46:09 caddy-rproxy caddy[51587]: {"level":"debug","ts":1730267169.850796,"logger":"http.stdlib","msg":"http: TLS handshake error from 1.146.232.77:1360: no certificate available for 'api.mngcogo.com.au'"}
It seems I’m still in this situation of no certificate being returned for mngcogo.com.au
I then instead uncommented the configuration parameter dns_challenge_override_domain mng.net.au
and created the corresponding CNAME record _dns-challenge.mngocogo.com.au
as well as deleted any previously auto-added record from Caddy. I did this to try delegate the ACME challenge to mng.net.au for my page api.mngcogo.com.au
However, I am still receiving the same above debug logs?