Closed mberbero closed 7 months ago
Did you call certmagic.NewDefault()
?
From https://github.com/caddyserver/certmagic?tab=readme-ov-file#defaults:
The default Config value is called certmagic.Default. Change its fields to suit your needs, then call certmagic.NewDefault() when you need a valid Config value. In other words, certmagic.Default is a template and is not valid for use directly.
Yes, I forgot to add that. But now it uses the wildcard SSL created by letsencrypt, not the SSL I gave it. And I do not use the DNS verification method.
If both certificates match the hostname and satisfy the handshake requirements, why does it matter which one is used? :thinking:
@mberbero Did this get resolved? I want to make sure everything is working OK.
@mholt I think it's fixed. I couldn't use my own SSL certificate. I think we have to wait 3 months for that.
@mberbero Ok. Sorry about the inconvenience. If there's good reasoning for making a change here, I'm happy to consider it. Just let me know if something pops up. :)
What is your question?
I want to use the certificates I purchased in the code below, but the application crashes.
What have you already tried?
I tried using other methods but the error is the same