xaio
xaio
DDeno
Created by rabbit_rabbit on 12/13/2023 in #help
InvalidData: No certificates found in cert file
this is what worked for me - fresh.config.ts: import { defineConfig } from "$fresh/server.ts"; const cert = { key: Deno.readTextFileSync('./cert/server.key'), cert: Deno.readTextFileSync('./cert/server.crt') }; export default defineConfig({ plugins: [ // Plugins here ], server: { cert: cert.cert, key: cert.key, port: 8443, }, });
9 replies
DDeno
Created by rabbit_rabbit on 12/13/2023 in #help
InvalidData: No certificates found in cert file
I had the same issue. It turns out that "cert" and "key" options take not the file path but the contents of the files
9 replies