Deno.serveTls with self signed certificate
i try to create a webserver but i cannot use self signed certificates, how can i solve this ?
deno run -A --unsafely-ignore-certificate-errors webserver.js
DANGER: TLS certificate validation is disabled for all hostnames
HTTP webserver running. Access it at: http://localhost:8080/
HTTPS webserver running. Access it at: https://localhost:8443/
TLS alert received: AlertMessagePayload {
level: Fatal,
description: CertificateUnknown,
}
error: Uncaught (in promise) Http: error writing a body to connection: received fatal alert: CertificateUnknown
for await (const o_request_event of o_http_connection) {deno run -A --unsafely-ignore-certificate-errors webserver.js
DANGER: TLS certificate validation is disabled for all hostnames
HTTP webserver running. Access it at: http://localhost:8080/
HTTPS webserver running. Access it at: https://localhost:8443/
TLS alert received: AlertMessagePayload {
level: Fatal,
description: CertificateUnknown,
}
error: Uncaught (in promise) Http: error writing a body to connection: received fatal alert: CertificateUnknown
for await (const o_request_event of o_http_connection) {