Replies: 1 comment
-
Hello, and sorry for the late reply. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there any way to test a site with an ssl certificate on localhost? I generated the certificate with mkcert (https://mkcert.dev/), but I don't know how to configure SQLPage to use it (I added "https_domain":"localhost" to sqlpage.json and copied the two certificate files, but it doesn't work, I get an error when configuring https)
ERROR sqlpage::webserver::https] Unable to configure HTTPS: Order(Acme(HttpRequest(Non2xxStatus { status_code: 400, body: "{\n \"type\": \"urn:ietf:params:acme:error:rejectedIdentifier\",\n \"detail\": \"Invalid identifiers requested :: Cannot issue for \\\"localhost\\\": Domain name needs at least one dot\",\n \"status\": 400\n}" })))
I also tried with domain with dot localhost.com but it still doesn't work
Beta Was this translation helpful? Give feedback.
All reactions