Mark G
invalid peer certificate: UnknownIssuer
I'm running two https localhost services on different ports, and used mkcert to install a local CA, and create certs for each service.
One service attempts to fetch from the other, but it's failing with
error trying to connect: invalid peer certificate: UnknownIssuer
I've set DENO_TLS_CA_STORE=system
.
I can access both services in Chrome and Firefox.
This used to work sometime ago (both MacOS and Deno have both upgraded since).
I'm now on MacOS 14.5 and Deno 1.44.4.
I'm a bit stumped as to why this no longer works, any ideas?3 replies
Anyone aware of a streaming multipart parser for Deno?
I'd like to handle the parts of a multipart/form-data stream in a server as they arrive rather than waiting for a complete upload and using FormData.
Ideally this would be a TransformStream that parsed the body into a stream of parts, which in turn contained the appropriate metadata and a content stream for each part.
I've been searching for any kind of implementation like this and not found anything from the wider JS ecosystem, let alone for Deno.
Does anyone else know of something like this, or maybe a nice multipart parser that could be adapted?
I wanted to avoid duplicating effort, but if it's not already been done, I may have a bash at it myself.
2 replies
In-browser testing
I need to run some tests in a browser (Chrome, Firefox, Safari).
Either by running a full test suite in the browser (ideally I like to run the suite in Deno too) or by connecting to and automating the browser, doesn't really matter.
I'd really like to do this from Deno, and not have to go back to some node test framework.
Can anyone suggest anything related that they've had success with in Deno?
4 replies
Suggestions for minimal JSX rendering?
Any suggestions for rendering jsx to a string (or ideally a stream), in the most minimal manner from Deno? I'm currently using preact and preact-render-to-string, but i feel that may just be a bit overkill. I don't need client-side, hooks, or any other preact/react features.
7 replies
Is there a way to determine what modules have been dynamically imported at runtime?
The builtin tools to compile/bundle/vendor don't account for dynamic imports (understandably), but is there a way at runtime that we could see what has been imported dynamically. This information could then be used to aid other tools, for example to generate a module that statically imports all of those dynamic modules.
1 replies