2020/03/01 01:01:43 http: TLS handshake error from 14.116.206.250:54097: no certificate available for ‘sg.csnet.win’
2020/03/01 01:01:45 http: TLS handshake error from 14.116.206.250:54100: no certificate available for ‘sg.csnet.win’
2020/03/01 01:01:46 http: TLS handshake error from 14.116.206.250:54101: no certificate available for ‘sg.csnet.win’
2020/03/01 01:01:46 http: TLS handshake error from 14.116.206.250:54102: no certificate available for ‘sg.csnet.win’
2020/03/01 01:01:49 http: TLS handshake error from 14.116.206.250:54106: no certificate available for ‘sg.csnet.win’
Looks like you’re providing a certificate for jp3.netcs.win, but Caddy doesn’t think the certificate you’ve provided is suitable (is it not the correct format? Is it expired? Is it for the wrong domain name?).
It’s picked up the cert for jp3.tvhk.top:
2020/03/06 13:16:12.809 INFO http skipping automatic certificate management because one or more matching certificates are already loaded {“domain”: “jp3.tvhk.top”, “server_name”: “srv0”}
Now, over on the Discord you posted more logs:
2020/03/06 13:17:49 http: TLS handshake error from 14.126.204.111:62288: no certificate available for 'jp3.netcs.win'
2020/03/06 13:17:50 http: TLS handshake error from 14.126.204.111:62291: no certificate available for 'jp3.netcs.win'
2020/03/06 13:17:54 http: TLS handshake error from 14.126.204.111:62292: no certificate available for 'jp3.netcs.win'
2020/03/06 13:17:55 http: TLS handshake error from 14.126.204.111:62295: no certificate available for 'jp3.netcs.win'
2020/03/06 13:17:56 http: TLS handshake error from 179.43.169.182:59098: no certificate available for 'jp3.netcs.win'
2020/03/06 13:17:57 http: TLS handshake error from 14.126.204.111:62300: no certificate available for 'jp3.netcs.win'
2020/03/06 13:17:58 http: TLS handshake error from 14.126.204.111:62301: no certificate available for 'jp3.netcs.win'
Please don’t hold back any logs when you post on the forums, by the way - every little bit might be helpful, or the piece that actually solves the puzzle.
So we’ve got a double whammy here, actually.
First up, Caddy isn’t recognizing the fact you’ve provided a certificate. THEN, Caddy’s getting one for the site but does not seem to be using it. I’m not sure why on either case.
I might have to throw this one over to @matt. How do we go about debugging this one?
but i use the caddy1 with the same certificate, all 2 sites working fine.
now i just use the caddy1 to run the actual sites, you can check jp3.tvhk.top and jp3.netcs.win
they are working!